diff options
author | V <vendicated@riseup.net> | 2023-06-13 02:29:15 +0200 |
---|---|---|
committer | V <vendicated@riseup.net> | 2023-06-13 02:29:29 +0200 |
commit | 42d8211871d84e2650f7c762c66e2ee2e6c58968 (patch) | |
tree | c07b39db5a7a86fb2a9e6c02a7d8e03b85e763c6 /src/plugins/arRPC.web.tsx | |
parent | ab3e9932749d3d5a226cb08906f5c8335d9581c5 (diff) | |
download | Vencord-42d8211871d84e2650f7c762c66e2ee2e6c58968.tar.gz Vencord-42d8211871d84e2650f7c762c66e2ee2e6c58968.tar.bz2 Vencord-42d8211871d84e2650f7c762c66e2ee2e6c58968.zip |
Fix disabling plugins whose stop() errors
Diffstat (limited to 'src/plugins/arRPC.web.tsx')
-rw-r--r-- | src/plugins/arRPC.web.tsx | 2 |
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 } }); |