- Fix for app crash after ending game ios-revival
authorantonc27 <antonc27@mail.ru>
Thu, 13 Aug 2015 13:40:12 +0200
branchios-revival
changeset 11113 6382679643e4
parent 11112 520b57e0c518
child 11114 6a0bd9c6cc82
- Fix for app crash after ending game Note: Note sure why halt() not working correctly, also must pay attention to memory management here
hedgewars/hwengine.pas
--- a/hedgewars/hwengine.pas	Thu Aug 13 01:34:01 2015 +0200
+++ b/hedgewars/hwengine.pas	Thu Aug 13 13:40:12 2015 +0200
@@ -607,7 +607,7 @@
     {$IFDEF PAS2C}
     exit(HaltNoError);
     {$ELSE}
-    halt(HaltNoError);
+    exit;
     {$ENDIF}
 {$IFDEF HWLIBRARY}
 end;