Fix disconnect/reconnect issues
Commit 155d78b3 prevented reconnections from working properly. This fixes that by creating a new RFB object after disconnecting or failing. Furthermore, this ensures that a new connection cannot be opened util we've actually disconnected (either by timer or by receiving a `close` event). Closes #452
Showing
Please
register
or
sign in
to comment