diff options
Diffstat (limited to 'libs/ardour/session.cc')
-rw-r--r-- | libs/ardour/session.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index 31693daff3..7b12478092 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -352,6 +352,10 @@ Session::destroy () _engine.remove_session (); + /* clear region map. it doesn't hold references, but lets just be sensible here */ + + RegionFactory::clear_map (); + /* clear history so that no references to objects are held any more */ _history.clear (); |