MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Dispose

Method Dispose

Source/Engine/Debug/DebugCommands.cpp:369–379  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

367 }
368
369 void Dispose() override
370 {
371 // Cleanup
372 if (AsyncTask)
373 AsyncTask->Wait();
374 ScopeLock lock(Locker);
375 Scripting::BinaryModuleLoaded.Unbind(&FindDebugCommands);
376 Scripting::ScriptsReloading.Unbind(&OnScriptsReloading);
377 Commands.Clear();
378 Inited = true;
379 }
380};
381
382DebugCommandsService DebugCommandsServiceInstance;

Callers

nothing calls this directly

Calls 3

WaitMethod · 0.45
UnbindMethod · 0.45
ClearMethod · 0.45

Tested by

no test coverage detected