aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/arRPC.web.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/arRPC.web.tsx')
-rw-r--r--src/plugins/arRPC.web.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/arRPC.web.tsx b/src/plugins/arRPC.web.tsx
index 9a16c64..f0d4841 100644
--- a/src/plugins/arRPC.web.tsx
+++ b/src/plugins/arRPC.web.tsx
@@ -104,6 +104,6 @@ export default definePlugin({
stop() {
FluxDispatcher.dispatch({ type: "LOCAL_ACTIVITY_UPDATE", activity: null }); // clear status
- ws.close(); // close WebSocket
+ ws?.close(); // close WebSocket
}
});