MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / destroy

Function destroy

TheForceEngine/TFE_ForceScript/forceScript.cpp:141–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139 }
140
141 void destroy()
142 {
143 // Clean up
144 stopAllFunc();
145 s_modules.clear();
146 if (s_engine)
147 {
148 s_engine->ShutDownAndRelease();
149 s_engine = nullptr;
150 }
151 }
152
153 void overrideCallback(ScriptMessageCallback callback)
154 {

Callers

nothing calls this directly

Calls 3

stopAllFuncFunction · 0.85
ShutDownAndReleaseMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected