mirror of
https://github.com/lxsang/antd-web-apps
synced 2024-11-20 02:18:20 +01:00
minor lib fix
This commit is contained in:
parent
9e1dc0f3dd
commit
5cef88d1e2
2
Makefile
2
Makefile
@ -1,7 +1,7 @@
|
|||||||
BUILDDIR = ./build
|
BUILDDIR = ./build
|
||||||
projs = grs info blog apps os
|
projs = grs info blog apps os
|
||||||
copyfiles = index.ls mimes.json
|
copyfiles = index.ls mimes.json
|
||||||
main: clean copy
|
main: clean copy
|
||||||
for f in $(projs); do make -C "$${f}" ; done
|
for f in $(projs); do make -C "$${f}" ; done
|
||||||
|
|
||||||
copy:
|
copy:
|
||||||
|
@ -146,8 +146,8 @@ function SystemController:apigateway(...)
|
|||||||
if (pid == -1) then
|
if (pid == -1) then
|
||||||
echo("{'error':'Cannot create process'}")
|
echo("{'error':'Cannot create process'}")
|
||||||
elseif pid > 0 then -- parent
|
elseif pid > 0 then -- parent
|
||||||
-- wait for the child exit
|
-- wait for the child exit or websocket exit
|
||||||
ulib.waitpid(pid)
|
ulib.waitpid(pid, 0)
|
||||||
print("Parent exit")
|
print("Parent exit")
|
||||||
else -- child
|
else -- child
|
||||||
if use_ws then
|
if use_ws then
|
||||||
|
Loading…
Reference in New Issue
Block a user