first close stuff then say we closed it
This commit is contained in:
parent
b0034eee1c
commit
3d3297e147
@ -266,8 +266,8 @@ int writeTimeoutSeconds = 5.0;
|
||||
}
|
||||
|
||||
- (void)close {
|
||||
self.closeEventHandler(FALSE);
|
||||
[self closeStreams];
|
||||
self.closeEventHandler(FALSE);
|
||||
}
|
||||
|
||||
- (void)closeStreams {
|
||||
|
@ -80,8 +80,8 @@ namespace Blocshop.ScoketsForCordova
|
||||
|
||||
public void Close()
|
||||
{
|
||||
this.CloseEventHandler(false);
|
||||
this.socket.Close();
|
||||
this.CloseEventHandler(false);
|
||||
}
|
||||
|
||||
private void StartReadTask()
|
||||
|
Loading…
Reference in New Issue
Block a user