You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 28, 2021. It is now read-only.
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 itsonErrorcallback 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.