diff options
author | blairzhao111 <blairzhao111@gmail.com> | 2020-06-09 21:07:25 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-09 15:07:25 +0200 |
commit | 6c21ba05752c6d645c891fa8d90781f943f0f74c (patch) | |
tree | 3e39abf8824fc4dd3e3d4a051476f15021df5fbf /tools/format.py | |
parent | 878f306a39812eb71e31cc4dd6e8e0b313c3cecb (diff) |
fix(std/node): emitter.removeAllListeners (#5583)
When given a non-registered eventName to
emitter.removeAllListeners(eventName), current code
would remove all listeners instead of silently skip,
which is not ideal.
Diffstat (limited to 'tools/format.py')
0 files changed, 0 insertions, 0 deletions