Close a lua instance before creating a new one, fixes #455
This commit is contained in:
parent
ef6c9131c6
commit
e281950902
|
@ -145,6 +145,7 @@ namespace BizHawk.Client.EmuHawk
|
||||||
public void Close()
|
public void Close()
|
||||||
{
|
{
|
||||||
FormsLibrary.DestroyAll();
|
FormsLibrary.DestroyAll();
|
||||||
|
_lua.Close();
|
||||||
_lua = new Lua();
|
_lua = new Lua();
|
||||||
GuiLibrary.Dispose();
|
GuiLibrary.Dispose();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue