SignalGo/SignalGo-full-net

Calling any method with Duplex Provider without connecting cause NullReferenceException

Closed this issue · 1 comments

Calling any method with Duplex Provider without connecting cause NullReferenceException . It would be better to check if connected and if not connected raise InvalidOperationException with Error message that you need to connect first.

ok, adding a ConnectionState would also help to prevent the issue