mirror of https://github.com/waku-org/js-waku.git
chore: minor fixes
This commit is contained in:
parent
6b58f08bc1
commit
89c7bae801
|
@ -20,10 +20,8 @@ import {
|
|||
import { WakuMessage } from "@waku/proto";
|
||||
import { groupByContentTopic, Logger } from "@waku/utils";
|
||||
|
||||
import {
|
||||
ReceiverReliabilityMonitor,
|
||||
ReliabilityMonitorManager
|
||||
} from "../../reliability_monitor/receiver.js";
|
||||
import { ReliabilityMonitorManager } from "../../reliability_monitor/index.js";
|
||||
import { ReceiverReliabilityMonitor } from "../../reliability_monitor/receiver.js";
|
||||
|
||||
import { DEFAULT_KEEP_ALIVE, DEFAULT_SUBSCRIBE_OPTIONS } from "./constants.js";
|
||||
|
||||
|
|
|
@ -196,7 +196,7 @@ export class WakuNode implements Waku {
|
|||
}
|
||||
|
||||
public async stop(): Promise<void> {
|
||||
ReliabilityMonitorManager.destroyAll();
|
||||
ReliabilityMonitorManager.stopAll();
|
||||
this.connectionManager.stop();
|
||||
await this.libp2p.stop();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue