mirror of
https://github.com/lxsang/antd-web-apps
synced 2025-07-23 00:59:52 +02:00
minor lib fix
This commit is contained in:
@ -146,8 +146,8 @@ function SystemController:apigateway(...)
|
||||
if (pid == -1) then
|
||||
echo("{'error':'Cannot create process'}")
|
||||
elseif pid > 0 then -- parent
|
||||
-- wait for the child exit
|
||||
ulib.waitpid(pid)
|
||||
-- wait for the child exit or websocket exit
|
||||
ulib.waitpid(pid, 0)
|
||||
print("Parent exit")
|
||||
else -- child
|
||||
if use_ws then
|
||||
|
Reference in New Issue
Block a user