Răsfoiți Sursa

+ endless loop in system_exit (for now)

git-svn-id: branches/wasm@48294 -
nickysn 4 ani în urmă
părinte
comite
ae39e3da44
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  1. 2 0
      rtl/wasi/system.pp

+ 2 - 0
rtl/wasi/system.pp

@@ -84,6 +84,8 @@ End;
 procedure System_exit;
 begin
   DebugWriteLn('System_exit');
+  repeat
+  until false;
 End;
 
 Function ParamCount: Longint;