SpeckleApiClient.Dispose () should just dispose the object with no errors.
Actual Behaviour
SpeckleApiClient.Dispose () triggers its onError callback with the event argument name simply being "websocket-disconnected". Still seems to work, but the error is unnecessary.
SpeckleApiClient.SetupWebsocket () is somehow being called when the client object gets disposed. This is regardless of whether or not true or false is passed into the dispose method.
Affected Projects
SpeckleUnity.
Reproduction Steps & System Config (win, osx, web, etc.)
Receive a stream and once it's received, I then try to dispose the client object and get thrown this error.
Proposed Solution (if any)
Try to avoid setting up a new web socket while disposing a client object.
Step 0:
Expected Behaviour
SpeckleApiClient.Dispose ()
should just dispose the object with no errors.Actual Behaviour
SpeckleApiClient.Dispose ()
triggers itsonError
callback with the event argument name simply being "websocket-disconnected". Still seems to work, but the error is unnecessary.SpeckleApiClient.SetupWebsocket ()
is somehow being called when the client object gets disposed. This is regardless of whether or not true or false is passed into the dispose method.Affected Projects
SpeckleUnity.
Reproduction Steps & System Config (win, osx, web, etc.)
Receive a stream and once it's received, I then try to dispose the client object and get thrown this error.
Proposed Solution (if any)
Try to avoid setting up a new web socket while disposing a client object.