mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-23 17:33:56 +03:00
bug #1677: force websocket proxy kill after 1 second
This commit is contained in:
parent
7cc5255ee4
commit
9ec5d8e633
@ -208,6 +208,13 @@ class OpenNebulaVNC
|
||||
|
||||
sleep 1
|
||||
|
||||
begin
|
||||
Process.getpgid(pid)
|
||||
|
||||
Process.kill('KILL', pid)
|
||||
rescue
|
||||
end
|
||||
|
||||
if is_running?
|
||||
message="VNC server is still running"
|
||||
STDERR.puts message
|
||||
|
Loading…
Reference in New Issue
Block a user