From 8783fc35f27b8583755d53d70efbf6cece27ca29 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 14 Apr 2010 22:06:12 +0000 Subject: Suspend deletion of cross-thread pools until they are empty. Prevents crashes when the freeze thread completes. git-svn-id: svn://localhost/ardour2/branches/3.0@6893 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/ardour/session_event.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libs/ardour/ardour/session_event.h') diff --git a/libs/ardour/ardour/session_event.h b/libs/ardour/ardour/session_event.h index 882142c68d..2306bb7c1a 100644 --- a/libs/ardour/ardour/session_event.h +++ b/libs/ardour/ardour/session_event.h @@ -117,6 +117,8 @@ struct SessionEvent { private: static PerThreadPool* pool; CrossThreadPool* own_pool; + + friend class Butler; }; class SessionEventManager { -- cgit v1.2.3