Forráskód Böngészése

* return from unhandled exception handler to system unit so things get cleaned up properly

git-svn-id: trunk@4708 -
florian 19 éve
szülő
commit
3c50c5f714
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      rtl/objpas/sysutils/sysutils.inc

+ 1 - 1
rtl/objpas/sysutils/sysutils.inc

@@ -246,7 +246,7 @@ begin
         Writeln(stdout,BackTraceStrFunc(Frames[i]));
         Writeln(stdout,BackTraceStrFunc(Frames[i]));
     end;
     end;
   Writeln(stdout,'');
   Writeln(stdout,'');
-  Halt(217);
+  ErrorCode:=217;
 end;
 end;