mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2026-10-08 00:00:23 -04:00
OSX crash-on-exit fix
This commit is contained in:
+5
-4
@@ -74,10 +74,6 @@ int CubicSDR::OnExit() {
|
||||
|
||||
demodMgr.terminateAll();
|
||||
|
||||
#ifdef __APPLE__
|
||||
AudioThread::deviceCleanup();
|
||||
#endif
|
||||
|
||||
delete threadCmdQueueSDR;
|
||||
|
||||
delete iqVisualQueue;
|
||||
@@ -86,6 +82,11 @@ int CubicSDR::OnExit() {
|
||||
|
||||
delete m_glContext;
|
||||
|
||||
|
||||
#ifdef __APPLE__
|
||||
AudioThread::deviceCleanup();
|
||||
#endif
|
||||
|
||||
return wxApp::OnExit();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user