mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-16 14:13:53 +01:00
Sequence of AudioIO and NetworkManager shutdowns fixes crash at exit
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user