mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-07-25 01:54:29 +00:00
SocketIoFacade: Improve disposal, avoid exception on tear-down
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
|
||||
protected override Task StopCore()
|
||||
{
|
||||
this.socket.DisposeSocket();
|
||||
this.socket.Dispose();
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user