summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/session_event.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-04-14 22:06:12 +0000
committerCarl Hetherington <carl@carlh.net>2010-04-14 22:06:12 +0000
commit8783fc35f27b8583755d53d70efbf6cece27ca29 (patch)
tree50f35241556a6e4f83bf883e2516072a62db510b /libs/ardour/ardour/session_event.h
parent72f8544b2411c0bb9a8a46b2d27c5e94c2c0b803 (diff)
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
Diffstat (limited to 'libs/ardour/ardour/session_event.h')
-rw-r--r--libs/ardour/ardour/session_event.h2
1 files changed, 2 insertions, 0 deletions
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 {