MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / torque_engineshutdown

Function torque_engineshutdown

Engine/source/cinterface/cinterface.cpp:128–154  ·  view source on GitHub ↗

shutdown the engine

Source from the content-addressed store, hash-verified

126
127 // shutdown the engine
128 S32 torque_engineshutdown()
129 {
130
131#if defined( TORQUE_MINIDUMP ) && defined( TORQUE_RELEASE )
132 __try {
133#endif
134
135 // Clean everything up.
136 StandardMainLoop::shutdown();
137
138#if !defined(TORQUE_OS_XENON) && !defined(TORQUE_OS_PS3) && defined(_MSC_VER)
139 createFontShutdown();
140#endif
141
142#if defined( TORQUE_MINIDUMP ) && defined( TORQUE_RELEASE )
143 }
144
145 __except( CreateMiniDump(GetExceptionInformation()) )
146 {
147 _exit(0);
148 }
149#endif
150
151 // Return.
152 return true;
153
154 }
155
156 bool torque_isdebugbuild()
157 {

Callers 4

ShutdownTorque3DFunction · 0.85
ShutdownTorque3DFunction · 0.85
torque_unixmainFunction · 0.85
TorqueMainFunction · 0.85

Calls 3

createFontShutdownFunction · 0.85
CreateMiniDumpFunction · 0.85
shutdownFunction · 0.50

Tested by

no test coverage detected