diff options
author | Robin Gareus <robin@gareus.org> | 2019-03-23 14:28:12 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-03-23 14:31:00 +0100 |
commit | ff8bd935cf27a833f5611d2123230893a9862c4f (patch) | |
tree | 18127ff77aa7ca0566c6bcac2e7cf22ad2bdc71e /libs/ardour/ardour/audio_playlist_source.h | |
parent | 73029d45baf97da6b0a2c8ec9688c33da69fff8d (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