dont reconnect after abort

This commit is contained in:
boufni95 2025-10-31 18:33:28 +00:00
parent 89154933b9
commit 203dde3d38

View file

@ -164,7 +164,7 @@ export default class {
RestartStreams() { RestartStreams() {
// console.log("Restarting streams") // console.log("Restarting streams")
if (!this.ready) { if (!this.ready || this.abortController.signal.aborted) {
return return
} }
this.log("LND is dead, will try to reconnect in", deadLndRetrySeconds, "seconds") this.log("LND is dead, will try to reconnect in", deadLndRetrySeconds, "seconds")