tinodo / obsclient

A Complete .NET Client for OBS Studio 28 and up.
MIT License
10 stars 2 forks source link

Fixed ConnectionState never switching to Connected when application is not using async #10

Closed mdalpiaz closed 2 months ago

mdalpiaz commented 3 months ago

When this._authenticationComplete.SetResult(true) is run inside ProcessIdentifiedMessage(), the ConnectAsync() method immediately returns. If the calling application is not using async but instead blocking, the line below is never executed and the state is never changed to Connected.