You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i have a asp.net core hosted service that looks like this, when i stop the service at runtime(i.e. stream went down so pubsub is no longer needed) the disconnect works as expected but for some reason OnPubSubServiceConnected is triggered which it shouldnt
@ArcadeArchie Kinda late reply, but current (stable) version of TwitchLib.PubSub is using TwitchLib.Communication version 1.0.4 as an underlying client. This version of the communication library had issues with reconnection and proper disconnects. So instead of truly disconnecting, it just automatically reconnected, causing new OnPubSubServiceConnected to be fired again (you should also see active connection for that service).
This is already (mostly) fixed by new 2.0 communication version (there is still one more pending bug) and PubSub should be updated to 4.0 version.
If you don't want to wait for stable, you can try using preview versions of the packages.
i have a asp.net core hosted service that looks like this, when i stop the service at runtime(i.e. stream went down so pubsub is no longer needed) the disconnect works as expected but for some reason
OnPubSubServiceConnected
is triggered which it shouldntThe text was updated successfully, but these errors were encountered: