1.7.5 quit() hangs / crash
by Eyal Erez · in Torque Game Builder · 06/09/2010 (3:48 pm) · 0 replies
My game hangs when using the quit() function.
After debugging it, I've noticed that it does go through all the shutdown sequence and complete this function which I believe to be the last one.
function onExit()
{
_saveGameConfigurationData( expandFileName("./commonConfig.xml") );
_shutdownCommon();
Parent::onExit();
}
at this point it hangs.... like there is an infinite loop running in the bg.
If I start the game and quit right away it quits without an issue, but if I play a level and then quit it hangs.
Any ideas what to look for?
After debugging it, I've noticed that it does go through all the shutdown sequence and complete this function which I believe to be the last one.
function onExit()
{
_saveGameConfigurationData( expandFileName("./commonConfig.xml") );
_shutdownCommon();
Parent::onExit();
}
at this point it hangs.... like there is an infinite loop running in the bg.
If I start the game and quit right away it quits without an issue, but if I play a level and then quit it hangs.
Any ideas what to look for?