diff --git a/SignalR.Client/Transports/SRServerSentEventsTransport.m b/SignalR.Client/Transports/SRServerSentEventsTransport.m index bae78b98..d1f856b1 100644 --- a/SignalR.Client/Transports/SRServerSentEventsTransport.m +++ b/SignalR.Client/Transports/SRServerSentEventsTransport.m @@ -155,14 +155,7 @@ - (void)open:(id )connection connectionData:(NSString *)c //operation.securityPolicy = self.securityPolicy; _eventSource = [[SREventSourceStreamReader alloc] initWithStream:operation.outputStream]; _eventSource.opened = ^() { - __strong __typeof(&*weakConnection)strongConnection = weakConnection; SRLogSSEInfo(@"serverSentEvents did open eventSource"); - - // This will noop if we're not in the reconnecting state - if([strongConnection changeState:reconnecting toState:connected]) { - // Raise the reconnect event if the connection comes back up - [strongConnection didReconnect]; - } }; _eventSource.message = ^(SRServerSentEvent * sseEvent) { __strong __typeof(&*weakSelf)strongSelf = weakSelf;