Error on "sesson.disconnect()" and "sessionDisconnected" with blocked webcam

Hi everybody,

I have integrated OpenVidu to a Vue-Intranet-Application. Everything works good. Now I have implemented a feature, where the session moderator can stop the session by deleting it trough REST API.

For all participants with active camera - everything works. The “sessionDisconnected” event fires and I can do the stuff I want.
For participants who blocked their camera, I get a JavaScript error before “sessionDisconnected” has fired - and the script stops:

error

If I compare it with a participants JS-Log with allowed camera, the problem seems to appear on “Disposing WebRtcPeer”.

Is this a bug? Is there a possible workaround?

BTW:

The same happens, when a user (with blocked webcam) wants to disconnect from a session.

error2

Just for information:

Actually I clean up our internal issue list - and I came back to this error.
I tested it again - and with the current OpenVidu version 2.28 the error does not occur anymore.