mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-26 16:09:50 +03:00
stash
This commit is contained in:
parent
8c8b5d5e00
commit
e584a4ec82
|
@ -281,7 +281,7 @@ class DevToolsEnhancer<S, A extends Action<unknown>> {
|
||||||
message.action = action as ActionCreatorObject[];
|
message.action = action as ActionCreatorObject[];
|
||||||
}
|
}
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
|
// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
|
||||||
this.socket!.transmit(this.socket!.id ? 'log' : 'log-noid', message);
|
void this.socket!.transmit(this.socket!.id ? 'log' : 'log-noid', message);
|
||||||
}
|
}
|
||||||
|
|
||||||
dispatchRemotely(
|
dispatchRemotely(
|
||||||
|
@ -415,7 +415,7 @@ class DevToolsEnhancer<S, A extends Action<unknown>> {
|
||||||
this.started = false;
|
this.started = false;
|
||||||
this.isMonitored = false;
|
this.isMonitored = false;
|
||||||
if (!this.socket) return;
|
if (!this.socket) return;
|
||||||
this.socket.unsubscribe(this.channel!);
|
void this.socket.unsubscribe(this.channel!);
|
||||||
this.socket.closeChannel(this.channel!);
|
this.socket.closeChannel(this.channel!);
|
||||||
if (!keepConnected) {
|
if (!keepConnected) {
|
||||||
this.socket.disconnect();
|
this.socket.disconnect();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user