mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-07 07:12:34 +02:00
Sequence of AudioIO and NetworkManager shutdowns fixes crash at exit
This commit is contained in:
parent
d8c4f54164
commit
34d5057db4
@ -2236,6 +2236,10 @@ int AudacityApp::OnExit()
|
||||
|
||||
DeinitFFT();
|
||||
|
||||
#ifdef HAS_NETWORKING
|
||||
audacity::network_manager::NetworkManager::GetInstance().Terminate();
|
||||
#endif
|
||||
|
||||
AudioIO::Deinit();
|
||||
|
||||
MenuTable::DestroyRegistry();
|
||||
@ -2243,10 +2247,6 @@ int AudacityApp::OnExit()
|
||||
// Terminate the PluginManager (must be done before deleting the locale)
|
||||
PluginManager::Get().Terminate();
|
||||
|
||||
#ifdef HAS_NETWORKING
|
||||
audacity::network_manager::NetworkManager::GetInstance().Terminate();
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user