When i close all my publishers and terminate the sessions, I receive the following error. This occurs even if there are no other subscribers.
I call unpublish on a single provider, await the result, then call session.disconnect
. The error is triggered by the disconnect call.
OpenViduError {name: 'GENERIC_ERROR', message: "Remote connection con_QXggVCzE95 unknown when 'onP…pantUnpublished'. Existing remote connections: {}"}
All of my calls are using await
, so it does not seem like it is a concurrency issue.
I have also ensured unpublish is called a single time.
It it possible this is not an error, and should be a silent info instead?