chore: minor fixes

This commit is contained in:
Danish Arora 2024-09-13 16:12:55 +05:30
parent 6b58f08bc1
commit 89c7bae801
No known key found for this signature in database
GPG Key ID: 1C6EF37CDAE1426E
2 changed files with 3 additions and 5 deletions

View File

@ -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";

View File

@ -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();
}