You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uncaught Error: [string "bundle:/deps/stream/stream_readable.lua"]:810: attempt to index global 'process' (a nil value)
stack traceback:
[string "bundle:/deps/stream/stream_readable.lua"]:810: in function 'resume'
[string "bundle:/deps/stream/stream_readable.lua"]:802: in function 'resume'
[string "bundle:/deps/net.lua"]:183: in function 'resume'
[string "bundle:/deps/stream/stream_readable.lua"]:767: in function 'on'
[string "bundle:/deps/http.lua"]:290: in function 'handler'
[string "bundle:/deps/core.lua"]:248: in function 'emit'
[string "bundle:/deps/net.lua"]:331: in function 'handler'
[string "bundle:/deps/core.lua"]:248: in function 'emit'
[string "bundle:/deps/net.lua"]:280: in function <[string "bundle:/deps/net.lua"]:276>
[C]: in function 'close'
[string "bundle:/deps/net.lua"]:260: in function 'destroy'
[string "bundle:/deps/net.lua"]:307: in function 'destroy'
[string "bundle:/clipserver.lua"]:135: in function 'stop_server'
[string "bundle:/clipserver.lua"]:141: in function 'startServer'
[string "require("gtkclip").startServer("192.168.0.101..."]:1: in main chunk
[C]: in function 'run'
[string "bundle:/clipserver.lua"]:180: in function 'fn'
[string "bundle:deps/require.lua"]:310: in function 'require'
[string "bundle:/main.lua"]:10: in function 'fn'
[string "bundle:deps/require.lua"]:310: in function <[string "bundle:deps/require.lua"]:266>
It must be called with a delay
local old_server = server;
local timer = uv.new_timer()
timer:start(3 * 1000, 0, function()
stop_server(old_server)
timer:close()
end)
What I am doing now is switching ports. So I want to shut down the previous server
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
It must be called with a delay
What I am doing now is switching ports. So I want to shut down the previous server
Beta Was this translation helpful? Give feedback.
All reactions