From 85aa700fe3d8903d1aaa638be7aa18b77b4a51c6 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Fri, 14 Jan 2011 23:33:16 -0500 Subject: [PATCH] Remove some dead code in -[NetworkConnection socketDisconnected] --- Source/NetworkConnection.mm | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Source/NetworkConnection.mm b/Source/NetworkConnection.mm index cbd2764..41227d3 100644 --- a/Source/NetworkConnection.mm +++ b/Source/NetworkConnection.mm @@ -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]; } -- 2.43.5