]> git.proxmox.com Git - mirror_novnc.git/commit - core/rfb.js
Fix disconnect crash when screen doesn't exist
authorSamuel Mannehed <samuel@cendio.se>
Tue, 12 Dec 2017 17:25:20 +0000 (18:25 +0100)
committerSamuel Mannehed <samuel@cendio.se>
Tue, 12 Dec 2017 17:25:20 +0000 (18:25 +0100)
commitb245ec70383b7fe3badfe4a587ff751e118c360e
treeecd87c24f876114f180b8733e32fc7677fd71d26
parent7f1049c0ee6f7f7c5d84509f9f2c5de70cd75dfb
Fix disconnect crash when screen doesn't exist

The function removeChild throws an exception when the element specified
doesn't exist. This can happen when opening the websocket throws an
exception during connect. Fixes issue #979
core/rfb.js