*/}}
Browse Source

Windows exit on window destroy

ChengduLittleA 1 year ago
parent
commit
59cc701585
1 changed files with 1 additions and 0 deletions
  1. 1 0
      la_kernel.c

+ 1 - 0
la_kernel.c

@@ -7325,6 +7325,7 @@ int la_ProcessSysMessage(){
         TranslateMessage(&msg); DispatchMessage(&msg);
         SendIdle = 0; MAIN.IdleStart = MAIN.TimeAccum; MAIN.IdleTriggered = 0;
     };
+    if(!MAIN.Windows.pFirst){ return 0; }
 #endif
 
     for(laWindow* w=MAIN.Windows.pFirst;w;w=w->Item.pNext){