diff --git a/src/BizHawk.Client.EmuHawk/tools/Lua/Win32LuaLibraries.cs b/src/BizHawk.Client.EmuHawk/tools/Lua/Win32LuaLibraries.cs index 0791b7505f..faca92024b 100644 --- a/src/BizHawk.Client.EmuHawk/tools/Lua/Win32LuaLibraries.cs +++ b/src/BizHawk.Client.EmuHawk/tools/Lua/Win32LuaLibraries.cs @@ -166,6 +166,7 @@ namespace BizHawk.Client.EmuHawk public override void Close() { RegisteredFunctions.Clear(GlobalWin.Emulator); // TODO: don't use globals + ScriptList.Clear(); FormsLibrary.DestroyAll(); _lua.Close(); _lua = new Lua();