Skip to content

Commit 1f0ff1f

Browse files
authored
Merge pull request #26 from BlueWaterCrystal/BlueWaterCrystal-patch-Connect_CallBack
Client.cs patch - Fixes Connect() not returning callback result when the socket isn't null
2 parents 2245d41 + a268a44 commit 1f0ff1f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Realtime/Client.cs

+1
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ public IRealtimeClient<RealtimeSocket, RealtimeChannel> Connect(Action<IRealtime
179179
if (socket != null)
180180
{
181181
Options.Logger("error", "Socket already exists.", null);
182+
callback?.Invoke(this);
182183
return this;
183184
}
184185

0 commit comments

Comments
 (0)