fix(cgi-bin): provide proper params to check if websockify is in-use

main
Tsu-ba-me 3 years ago
parent b528456f45
commit 742af987e9
  1. 2
      cgi-bin/manage_vnc_pipes

@ -859,7 +859,7 @@ sub close_vnc_pipe
return;
}
if (not is_websockify_in_use_by_others($parameters))
if (not is_websockify_in_use_by_others({ ws_pid => $vnc_pipe_info->{ws_pid} }))
{
stop_websockify({ host_name => $vnc_pipe_info->{host_name}, ws_pid => $vnc_pipe_info->{ws_pid} });
}

Loading…
Cancel
Save