mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 13:01:52 +00:00
Fixed ScriptClass leaking
This commit is contained in:
@@ -453,6 +453,7 @@ namespace GlitchyEditor.EditWindows
|
||||
className == scriptComponent.Instance?.ScriptClass.FullName))
|
||||
{
|
||||
scriptComponent.Instance = new ScriptInstance(script);
|
||||
scriptComponent.Instance.ReleaseRef();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user