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

Method InvokeDeinitialize

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

Source from the content-addressed store, hash-verified

167}
168
169void PluginManagerService::InvokeDeinitialize(Plugin* plugin)
170{
171 if (!plugin->_initialized)
172 return;
173 const StringAnsiView typeName = plugin->GetType().GetName();
174 PROFILE_CPU();
175 ZoneName(typeName.Get(), typeName.Length());
176
177 LOG(Info, "Unloading plugin {}", plugin->ToString());
178
179 PluginManager::PluginUnloading(plugin);
180
181 plugin->Deinitialize();
182 plugin->_initialized = false;
183
184 PluginManager::PluginUnloaded(plugin);
185}
186
187void PluginManagerImpl::OnAssemblyLoaded(MAssembly* assembly)
188{

Callers

nothing calls this directly

Calls 6

GetNameMethod · 0.45
GetTypeMethod · 0.45
GetMethod · 0.45
LengthMethod · 0.45
ToStringMethod · 0.45
DeinitializeMethod · 0.45

Tested by

no test coverage detected