MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / shutdownModule

Method shutdownModule

plugins/script/ScriptingSystem.cpp:290–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

288}
289
290void ScriptingSystem::shutdownModule()
291{
292 rMessage() << getName() << "::shutdownModule called." << std::endl;
293
294 _sigScriptsReloaded.clear();
295
296 _initialised = false;
297
298 // Clear the buffer so that nodes finally get destructed
299 SceneNodeBuffer::Instance().clear();
300
301 _commands.clear();
302
303 _scriptPath.clear();
304
305 _pythonModule.reset();
306}
307
308} // namespace script

Callers

nothing calls this directly

Calls 3

rMessageFunction · 0.85
clearMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected