• Solly Ross's avatar
    Throw exceptions from RFB constructor · d9fc1c7b
    Solly Ross authored
    Previously, if an error was thrown from the Display constructor
    in the RFB constructor, we would attempt to use `RFB#updateState`
    to handle this.  However, `RFB#updateState` attempts to close
    the WebSocket connection, which doesn't exist at this point.
    
    In the constructor, it's probably just better to raise an exception
    instead (making sure to clean up anything relevant).
    
    Fixes #460
    d9fc1c7b
Name
Last commit
Last update
docs Loading commit data...
images Loading commit data...
include Loading commit data...
tests Loading commit data...
utils Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE.txt Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
karma.conf.js Loading commit data...
package.json Loading commit data...
vnc.html Loading commit data...
vnc_auto.html Loading commit data...