pusher / pusher-websocket-unity

Pusher Channels Unity Client Library
MIT License
27 stars 20 forks source link

Calling Channel.Unsubscribe causes client to freeze #36

Closed vincent-savysoda closed 2 years ago

vincent-savysoda commented 2 years ago

I just tried updating from V1 to V2 of the Pusher client and I am currently encountering an issue with calling the Channel.Unsubscribe method. I noticed that the method has changed to a Task instance? Is there a different way to use this now that I'm not aware of?

vincent-savysoda commented 2 years ago

I had to switch to using UnsubscribeAsync instead and converting the original method calling it into an async Task method.

benjamin-tang-pusher commented 2 years ago

Just out of curiosity, which version of Unity are you using?

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you'd like this issue to stay open please leave a comment indicating how this issue is affecting you. Thank you.