public void Close() { if (cartridge != null) { _gameboy.Close(); } }
protected override void OnClosed() { _gameboy.Close(); base.OnClosed(); }
private void OnExit(Object sender, EventArgs args) { _gameboy.Close(); thread.Abort(); }