1
0
Fork 0

Make sure the unbind method is called for all registered subsystems proir to deleting the subsystem manager.

This commit is contained in:
ehofman 2009-10-19 08:57:14 +00:00 committed by Tim Moore
parent 73d4b78396
commit afb0ada81f

View file

@ -125,6 +125,7 @@ FGGlobals::~FGGlobals()
// deleted subsystems.
subsystem_mgr->get_group(SGSubsystemMgr::GENERAL)->remove_subsystem("input");
subsystem_mgr->get_group(SGSubsystemMgr::GENERAL)->remove_subsystem("gui");
subsystem_mgr->unbind();
delete subsystem_mgr;
delete event_mgr;
delete time_params;