• Solly Ross's avatar
    Fix disconnect/reconnect issues · e543525f
    Solly Ross authored
    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
    e543525f
rfb.js 77.4 KB