comparison framework/MainWindowBase.cpp @ 632:29bef008588e

Try to avoid deleting thread while OSC interface is still being set up
author Chris Cannam <cannam@all-day-breakfast.com>
date Fri, 09 Nov 2018 15:38:49 +0000
parents 7eafe977a1fc
children e2715204feaa 109a1dd59f45
comparison
equal deleted inserted replaced
630:ca64cc9047d0 632:29bef008588e
324 // Then delete the Application objects. 324 // Then delete the Application objects.
325 delete m_playSource; 325 delete m_playSource;
326 delete m_recordTarget; 326 delete m_recordTarget;
327 327
328 delete m_viewManager; 328 delete m_viewManager;
329 delete m_midiInput;
330
331 disconnect(m_oscQueueStarter, 0, 0, 0);
332 m_oscQueueStarter->wait(1000);
333 if (m_oscQueueStarter->isRunning()) {
334 m_oscQueueStarter->terminate();
335 m_oscQueueStarter->wait(1000);
336 }
337 delete m_oscQueueStarter;
329 delete m_oscQueue; 338 delete m_oscQueue;
330 delete m_oscQueueStarter; 339
331 delete m_midiInput;
332 Profiles::getInstance()->dump(); 340 Profiles::getInstance()->dump();
333 } 341 }
334 342
335 void 343 void
336 MainWindowBase::emitHideSplash() 344 MainWindowBase::emitHideSplash()