We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee1f86a commit 9c1b688Copy full SHA for 9c1b688
src/ElectronNET.API/Runtime/Services/SocketBridge/SocketBridgeService.cs
@@ -40,7 +40,10 @@ protected override Task StopCore()
40
private void Connect()
41
{
42
this.socket.Connect();
43
- this.TransitionState(LifetimeState.Started);
+ if (this.State < LifetimeState.Started)
44
+ {
45
+ this.TransitionState(LifetimeState.Started);
46
+ }
47
}
48
49
private void Socket_BridgeDisconnected(object sender, EventArgs e)
0 commit comments