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

Method Destroy

Source/Engine/Content/Assets/VisualScript.cpp:2120–2132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2118}
2119
2120void VisualScriptingBinaryModule::Destroy(bool isReloading)
2121{
2122 // Skip module unregister during reloads (Visual Scripts are persistent)
2123 if (isReloading)
2124 return;
2125
2126 BinaryModule::Destroy(isReloading);
2127
2128 // Free cached script typenames table
2129 for (char* str : _unloadedScriptTypeNames)
2130 Allocator::Free(str);
2131 _unloadedScriptTypeNames.Clear();
2132}
2133
2134ScriptingTypeHandle VisualScript::GetScriptingType()
2135{

Callers

nothing calls this directly

Calls 3

DestroyFunction · 0.85
FreeFunction · 0.50
ClearMethod · 0.45

Tested by

no test coverage detected