Open timrowledge opened 7 months ago
Wouldn't it be better to do the nil
check in #isServerRunning
?
Yes, I do believe it would. Something like
isServerRunning
^ self serverInstance
ifNil: [false]
ifNotNil: [:srv| srv isRunning]
would probably be snesible. Or even 'sensible'.
The current version of WAVNCController>>#renderContentOn: crashed because the RFBServer class return nil if there is no running instance. A simple change to test for nil first solves this -
The RFBServer class also needs a small fix to provide an #isRunning method, but that is easy to solve and already committed in https://source.squeak.org/ss/RFB-tpr.23