# HG changeset patch # User antonc27 # Date 1439466012 -7200 # Node ID 6382679643e4ea85d3a29cb991192be64d806c13 # Parent 520b57e0c51831a944ad3e6df938ca617f49562a - Fix for app crash after ending game Note: Note sure why halt() not working correctly, also must pay attention to memory management here diff -r 520b57e0c518 -r 6382679643e4 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;