summaryrefslogtreecommitdiff
path: root/libs/ardour/process_thread.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/process_thread.cc')
-rw-r--r--libs/ardour/process_thread.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/ardour/process_thread.cc b/libs/ardour/process_thread.cc
index ae7466c7f0..5d3b54cb13 100644
--- a/libs/ardour/process_thread.cc
+++ b/libs/ardour/process_thread.cc
@@ -40,7 +40,9 @@ release_thread_buffer (void* arg)
void
ProcessThread::init ()
{
- _private_thread_buffers = new Private<ThreadBuffers> (release_thread_buffer);
+ if (_private_thread_buffers == 0) {
+ _private_thread_buffers = new Private<ThreadBuffers> (release_thread_buffer);
+ }
}
ProcessThread::ProcessThread ()