Cysharp / MagicOnion

Unified Realtime/API framework for .NET platform and Unity.
MIT License
3.89k stars 433 forks source link

Throws RpcException instead of ObjectDisposedException when the client is disconnected. #838

Closed mayuki closed 2 months ago

mayuki commented 2 months ago

In this PR, we will change it so that RpcException(Status=Unavailable) is thrown instead of ObjectDisposedException when the client is disconnected. ObjectDisposedException will only be thrown when explicitly disposed.