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

Method Deinitialize

Source/Engine/Scripting/Plugins/PluginManager.cpp:56–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56void EditorPlugin::Deinitialize()
57{
58 MObject* exception = nullptr;
59 TypeInitializer.GetType().ManagedClass->GetMethod("Deinitialize_Internal")->Invoke(GetOrCreateManagedInstance(), nullptr, &exception);
60 if (exception)
61 {
62 MException ex(exception);
63 ex.Log(LogType::Error,TEXT("EditorPlugin"));
64 }
65
66 Plugin::Deinitialize();
67}
68
69#endif
70

Callers 2

InitializeMethod · 0.45
InvokeDeinitializeMethod · 0.45

Calls 6

DeinitializeFunction · 0.85
InvokeMethod · 0.45
GetMethodMethod · 0.45
GetTypeMethod · 0.45
LogMethod · 0.45

Tested by

no test coverage detected