debug stuff for launcher crash

This commit is contained in:
UnknownShadow200 2018-01-16 07:03:43 +11:00
parent ed06bc54f2
commit a98766f55c

View File

@ -123,6 +123,7 @@ namespace Launcher {
}
public void SetScreen(Screen screen) {
Console.WriteLine("CLOSE CASE 1");
if (this.Screen != null)
this.Screen.Dispose();
@ -183,8 +184,10 @@ namespace Launcher {
Window.ProcessEvents();
if (!Window.Exists) break;
if (ShouldExit) {
if (Screen != null)
if (Screen != null) {
Console.WriteLine("CLOSE CASE 2");
Screen.Dispose();
}
break;
}