mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-18 19:07:08 -04:00
Fix disabling plugins whose stop() errors
This commit is contained in:
parent
ab3e993274
commit
42d8211871
2 changed files with 6 additions and 4 deletions
|
@ -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
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue