| 2118 | } |
| 2119 | |
| 2120 | void 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 | |
| 2134 | ScriptingTypeHandle VisualScript::GetScriptingType() |
| 2135 | { |