Skip to content

Commit

Permalink
fix: add name to worker deleted emit
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowgate15 committed Jan 4, 2022
1 parent f119708 commit 0587ca1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ class Bree extends EventEmitter {
// remove closeWorkerAfterMs if exist
this.removeSafeTimer('closeWorkerAfterMs', name);

this.emit('worker deleted');
this.emit('worker deleted', name);
}
});
// NOTE: you cannot catch messageerror since it is a Node internal
Expand Down

0 comments on commit 0587ca1

Please sign in to comment.