Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix(worker): close base class connection #451
  • Loading branch information
manast committed Apr 19, 2021
1 parent 8bccbc3 commit 0875306
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/classes/worker.ts
Expand Up @@ -427,6 +427,7 @@ export class Worker<
})
.finally(() => client.disconnect())
.finally(() => this.timerManager && this.timerManager.clearAllTimers())
.finally(() => this.connection.close())
.finally(() => this.emit('closed'));
})();
return this.closing;
Expand Down

0 comments on commit 0875306

Please sign in to comment.