Skip to content

Commit

Permalink
clean spindown timeout on close (#550)
Browse files Browse the repository at this point in the history
  • Loading branch information
rafapaezbas authored Jan 17, 2025
1 parent bd4c31c commit 7abe148
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions subsystems/sidecar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -901,6 +901,7 @@ class Sidecar extends ReadyResource {
async #close () {
await this.applings.close()
clearTimeout(this.lazySwarmTimeout)
clearTimeout(this.spindownt)
if (this.replicator) await this.replicator.leave(this.swarm)
if (this.http) await this.http.close()
if (this.swarm) {
Expand Down

0 comments on commit 7abe148

Please sign in to comment.