I'm a developer, working on fixing this problem:
If the server is killed or the network disconnects, etc. vncviewer cleans up properly unless a dialog is open. If the file transfer or options dialog is open, the shutdown logic crashes. The WM_CLOSE seems to delete some objects when they still have message loop running.
Any ideas how to make this clean up nicely?
When the viewer crashes like this, on win 7 or 8 it seems to hang but not go away, and even task manager "end task" doesn't kill it, but sends a message to the viewer process. So its ugly in this state.