History

destroy pointermanager before pickmanager

SamGondelman committed 8 years ago

Commit c3eb4b51 parent 38796261 file · +5 −0Browse files

Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all

Unified · Split

interface/src/Application.cpp+5−0
@@ -2093,6 +2093,11 @@ void Application::cleanupBeforeQuit() { · 2092 unmodified lines
20932093 DependencyManager::destroy<AudioInjectorManager>();
20942094 DependencyManager::destroy<AudioScriptingInterface>();
20952095
2096+ // The PointerManager must be destroyed before the PickManager because when a Pointer is deleted,
2097+ // it accesses the PickManager to delete its associated Pick
2098+ DependencyManager::destroy<PointerManager>();
2099+ DependencyManager::destroy<PickManager>();
2100+
20962101 qCDebug(interfaceapp) << "Application::cleanupBeforeQuit() complete";
20972102 }
20982103

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t