Remove some dead code in -[NetworkConnection socketDisconnected]
authorRobert Sesek <rsesek@bluestatic.org>
Sat, 15 Jan 2011 04:33:16 +0000 (23:33 -0500)
committerRobert Sesek <rsesek@bluestatic.org>
Sat, 15 Jan 2011 04:33:16 +0000 (23:33 -0500)
Source/NetworkConnection.mm

index cbd27646e868f773e3fc1f1652763102118b7825..41227d31056bb122dc8413303d2b8c81313ded23 100644 (file)
@@ -210,13 +210,6 @@ void PerformQuitSignal(void* info)
  */
 - (void)socketDisconnected
 {
-  if (connected_) {
-    // The state still is connected, which means that we did not get here
-    // through normal disconnected procedure (a call to |-close|, followed by
-    // the downing of the socket and the stream, which also produces this
-    // messsage). Instead, the stream callbacks encountered EOF unexpectedly.
-    //[self close];
-  }
   if ([delegate_ respondsToSelector:@selector(connectionDidClose:)])
     [delegate_ connectionDidClose:self];
 }