Improve session stopping

This commit is contained in:
hensm
2022-03-15 10:32:17 +00:00
parent 3c175a740d
commit 5120a3a7ab
6 changed files with 14 additions and 28 deletions

View File

@@ -26,7 +26,7 @@ export default class CastClient {
// Platform messaging
private receiverChannel?: Channel;
private receiverRequestId = 0;
private receiverRequestId = Math.floor(Math.random() * 1e6);
constructor(
protected sourceId = "sender-0",