Exemplo n.º 1
0
 public void Close()
 {
     FormsLibrary.DestroyAll();
     _lua.Close();
     _lua = new Lua();
     GuiLibrary.Dispose();
 }
Exemplo n.º 2
0
 public override void Close()
 {
     RegisteredFunctions.Clear(GlobalWin.Emulator);             // TODO: don't use globals
     FormsLibrary.DestroyAll();
     _lua.Close();
     _lua = new Lua();
     GuiLibrary.Dispose();
 }
Exemplo n.º 3
0
 public void Close()
 {
     RegisteredFunctions.Clear(_mainForm.Emulator);
     ScriptList.Clear();
     FormsLibrary.DestroyAll();
     _lua.Close();
     _lua = new Lua();
 }
Exemplo n.º 4
0
        public void Close()
        {
            foreach (var closeCallback in RegisteredFunctions
                     .Where(l => l.Event == "OnConsoleClose"))
            {
                closeCallback.Call();
            }

            RegisteredFunctions.Clear(_mainForm.Emulator);
            ScriptList.Clear();
            FormsLibrary.DestroyAll();
            _lua.Close();
            _lua = new Lua();
        }
Exemplo n.º 5
0
 public override void WindowClosed(IntPtr handle)
 {
     FormsLibrary.WindowClosed(handle);
 }