sibson / vncdotool

A command line VNC client and python library
Other
451 stars 120 forks source link

rework handling of error, ref #256, #189 #257

Closed sibson closed 1 year ago

sibson commented 1 year ago

revert #189, connectionLost is called after the deferred was called for a successful or failed connection. Leading to AlreadyCalledError being raised

Further investigation uncovered a few bugs

sibson commented 1 year ago

I wonder if using atexit() would be cleaner than what I've done. I'll play with it to see if it works.