From 68aafe31f9c0781c9e78ac9a542ac638f86e416e Mon Sep 17 00:00:00 2001 From: David Luzar Date: Mon, 9 Nov 2020 15:34:26 +0100 Subject: [PATCH] fix portal teardown (#2370) --- src/components/Portal.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/Portal.tsx b/src/components/Portal.tsx index d135bc2a..57d72648 100644 --- a/src/components/Portal.tsx +++ b/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() {