summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/audio_playlist_source.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-03-23 14:28:12 +0100
committerRobin Gareus <robin@gareus.org>2019-03-23 14:31:00 +0100
commitff8bd935cf27a833f5611d2123230893a9862c4f (patch)
tree18127ff77aa7ca0566c6bcac2e7cf22ad2bdc71e /libs/ardour/ardour/audio_playlist_source.h
parent73029d45baf97da6b0a2c8ec9688c33da69fff8d (diff)
Remove chicken/egg d'tor
Session::Controllables is a shared_ptr<> list. As long as the session exists the Controllables will be around. Destroyed(*) can only be called after the session is destroyed and releases the shared_ptr<> NB. this code had a nice hack to construct a "shared_from_this" workaround. For future reference: struct null_deleter { void operator()(void const *) const {} }; boost::shared_ptr<Controllable>(c, null_deleter())
Diffstat (limited to 'libs/ardour/ardour/audio_playlist_source.h')
0 files changed, 0 insertions, 0 deletions