Ver Fonte

fix portal teardown (#2370)

David Luzar há 4 anos atrás
pai
commit
68aafe31f9
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      src/components/Portal.tsx

+ 2 - 0
src/components/Portal.tsx

@@ -49,6 +49,8 @@ class Portal {
     this.socket = null;
     this.roomID = null;
     this.roomKey = null;
+    this.socketInitialized = false;
+    this.broadcastedElementVersions = new Map();
   }
 
   isOpen() {