Remove comments about self-deleting connections
It isn't true so remove those comments.
diff --git a/common/rfb/VNCSConnectionST.h b/common/rfb/VNCSConnectionST.h
index 4fe92b0..76e78a9 100644
--- a/common/rfb/VNCSConnectionST.h
+++ b/common/rfb/VNCSConnectionST.h
@@ -51,10 +51,6 @@
// Methods called from VNCServerST. None of these methods ever knowingly
// throw an exception.
- // Unless otherwise stated, the SConnectionST may not be valid after any of
- // these methods are called, since they catch exceptions and may have
- // called close() which deletes the object.
-
// init() must be called to initialise the protocol. If it fails it
// returns false, and close() will have been called.
bool init();
@@ -86,8 +82,7 @@
// zero is returned. Zero is also returned if there is no idle timeout.
int checkIdleTimeout();
- // The following methods never throw exceptions nor do they ever delete the
- // SConnectionST object.
+ // The following methods never throw exceptions
// getComparerState() returns if this client would like the framebuffer
// comparer to be enabled.
@@ -115,9 +110,7 @@
private:
// SConnection callbacks
- // These methods are invoked as callbacks from processMsg(). Note that
- // none of these methods should call any of the above methods which may
- // delete the SConnectionST object.
+ // These methods are invoked as callbacks from processMsg()
virtual void authSuccess();
virtual void queryConnection(const char* userName);