extra insurance against ProcessThread::init() being called more than once
git-svn-id: svn://localhost/ardour2/branches/3.0@12737 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
5f42daa272
commit
223a5e217a
@ -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 ()
|
||||
|
Loading…
Reference in New Issue
Block a user