re: #2393 - fix something related to ed9b7b3eb1
(maybe)
This commit is contained in:
parent
284af73b14
commit
82c4fa4881
|
@ -632,11 +632,11 @@ namespace BizHawk.Client.EmuHawk
|
||||||
if (!prohibit)
|
if (!prohibit)
|
||||||
{
|
{
|
||||||
var result = LuaImp.ResumeScript(lf);
|
var result = LuaImp.ResumeScript(lf);
|
||||||
DetachRegisteredFunctions(lf);
|
|
||||||
if (result.Terminated)
|
if (result.Terminated)
|
||||||
{
|
{
|
||||||
LuaImp.CallExitEvent(lf);
|
LuaImp.CallExitEvent(lf);
|
||||||
lf.Stop();
|
lf.Stop();
|
||||||
|
DetachRegisteredFunctions(lf);
|
||||||
UpdateDialog();
|
UpdateDialog();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue