Fix extraneous error log if dalamud crashes/exits before the game ever renders a frame

This commit is contained in:
meli 2020-03-03 20:33:22 -08:00
parent fab7b373fb
commit 3f41c979cb

View file

@ -117,7 +117,7 @@ namespace Dalamud.Interface
this.Disable();
System.Threading.Thread.Sleep(100);
this.scene.Dispose();
this.scene?.Dispose();
this.presentHook.Dispose();
this.resizeBuffersHook.Dispose();
}