Closed enricogior closed 6 years ago
VirtualSocket.handleEventOnInputStream() should handle the Stream.Event.endEncountered event and close the streams.
VirtualSocket.handleEventOnInputStream()
Stream.Event.endEncountered
Same for VirtualSocket.handleEventOnOutputStream().
VirtualSocket.handleEventOnOutputStream()
Because the event is not handled, the VirtualSocket is not closed, causing replication to fail when the max RunLoop entries are reached.
Fixed in https://github.com/thaliproject/thali-ios/commits/master-enrico-error-handling-tmp
VirtualSocket.handleEventOnInputStream()
should handle theStream.Event.endEncountered
event and close the streams.Same for
VirtualSocket.handleEventOnOutputStream()
.Because the event is not handled, the VirtualSocket is not closed, causing replication to fail when the max RunLoop entries are reached.