Browse Source

+ endless loop in system_exit (for now)

git-svn-id: branches/wasm@48294 -
nickysn 4 years ago
parent
commit
ae39e3da44
1 changed files with 2 additions and 0 deletions
  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;