1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-21 16:37:12 +01:00

Fix for bug #857

Even though this is only a P2, I felt it would be
quite bothersome for the users and might cause some
confusion.

The problem was the the wxLocale was being deleted
before all usage of it was complete.  The fix was
to explicitly delete the plugin and module managers.
This commit is contained in:
lllucius@gmail.com
2015-02-12 02:30:30 +00:00
parent c88c1738bb
commit e73b7e70a3
5 changed files with 39 additions and 10 deletions

View File

@@ -1908,6 +1908,10 @@ int AudacityApp::OnExit()
// Terminate the PluginManager (must be done before deleting the locale)
PluginManager::Get().Terminate();
// Done with plugins and modules
PluginManager::Destroy();
ModuleManager::Destroy();
if (mLocale)
delete mLocale;