mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 15:14:35 +00:00
Update POSIXProcessControl.cpp
This commit is contained in:
parent
a3cfc7f008
commit
83c448eba1
1 changed files with 3 additions and 1 deletions
|
|
@ -63,6 +63,8 @@ static void SignalHandler(int sigtype)
|
||||||
void* array[10];
|
void* array[10];
|
||||||
size_t size;
|
size_t size;
|
||||||
|
|
||||||
|
signal(sigtype, SIG_DFL);
|
||||||
|
|
||||||
size = backtrace(array, 10);
|
size = backtrace(array, 10);
|
||||||
|
|
||||||
dPrintf("Error: signal: % d\n", sigtype);
|
dPrintf("Error: signal: % d\n", sigtype);
|
||||||
|
|
@ -82,7 +84,7 @@ void Cleanup(bool minimal)
|
||||||
StdConsole::destroy();
|
StdConsole::destroy();
|
||||||
|
|
||||||
#ifndef TORQUE_DEDICATED
|
#ifndef TORQUE_DEDICATED
|
||||||
SDL_Quit();
|
//SDL_Quit();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue