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

Method UnloadEngine

Source/Engine/Scripting/Runtime/DotNet.cpp:325–335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

323}
324
325void MCore::UnloadEngine()
326{
327 if (!MRootDomain)
328 return;
329 PROFILE_CPU();
330 CallStaticMethod<void>(GetStaticMethodPointer(TEXT("Exit")));
331 Ready = false;
332 MDomains.ClearDelete();
333 MRootDomain = nullptr;
334 ShutdownHostfxr();
335}
336
337void MCore::CreateScriptingAssemblyLoadContext()
338{

Callers

nothing calls this directly

Calls 3

GetStaticMethodPointerFunction · 0.85
ShutdownHostfxrFunction · 0.85
ClearDeleteMethod · 0.45

Tested by

no test coverage detected