| 54 | } |
| 55 | |
| 56 | void 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 |
no test coverage detected