mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-07 14:15:46 +01:00
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
1 changed files with 3 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue