Ver código fonte

+ endless loop in system_exit (for now)

git-svn-id: branches/wasm@48294 -
nickysn 4 anos atrás
pai
commit
ae39e3da44
1 arquivos alterados com 2 adições e 0 exclusões
  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;