From 84e92060fd0593adcd47c39b358048715ece9c7a Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 14 Apr 2010 23:58:20 +0000 Subject: Prevent crash in pool destruction during session teardown. git-svn-id: svn://localhost/ardour2/branches/3.0@6905 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/butler.cc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libs/ardour/butler.cc') diff --git a/libs/ardour/butler.cc b/libs/ardour/butler.cc index 8b88197073..b201960e0e 100644 --- a/libs/ardour/butler.cc +++ b/libs/ardour/butler.cc @@ -428,5 +428,12 @@ Butler::empty_pool_trash () } } +void +Butler::drop_references () +{ + SessionEvent::pool->set_trash (0); +} + + } // namespace ARDOUR -- cgit v1.2.3