Explorar o código

fix portal teardown (#2370)

David Luzar %!s(int64=4) %!d(string=hai) anos
pai
achega
68aafe31f9
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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() {