]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Add protection needed when alieve is closed via the window-manager close button.
authormtadel <mtadel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 6 Dec 2009 21:24:42 +0000 (21:24 +0000)
committermtadel <mtadel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 6 Dec 2009 21:24:42 +0000 (21:24 +0000)
EVE/alieve_main/alieve_main.cxx

index 398f8b5c92eae7959187561b757045ef1d9dfa44..6b3f633aa1d7c2e811f844f9f88d4add21a8574d 100644 (file)
@@ -84,7 +84,8 @@ int main(int argc, char **argv)
 
   app->Run(kTRUE);
 
-  gEve->GetBrowser()->UnmapWindow();
+  if (gEve && gEve->GetBrowser())
+    gEve->GetBrowser()->UnmapWindow();
   TEveManager::Terminate();
 
   app->Terminate(0);