@endel Thanks for your response. It works as I expect.
0
Reputation
3
Posts
865
Profile views
0
Followers
0
Following
Posts made by amit-gshe
RE: _disposeIfEmpty not trigger the onDispose callback
posted in Questions & Help •
_disposeIfEmpty not trigger the onDispose callback
posted in Questions & Help •
Hi all, I wonder how to do some logic when there is no clients in room. I trying to set the autoDispose
of the room to false
but how do I dispose the room? And I call protected _disposeIfEmpty
but the onDispose
not triggered.
Update
Can I use this.emit('dispose');
to dispose the room mannually?