Commit 58066d1
committed
events: remove unreachable code
Commit 8d386ed stopped the
Event Emitter implementation from storing arrays containing a
single listener. This change left a section of code in
removeListener() as unreachable. This commit removes the
unreachable code.
Refs: #12043
PR-URL: #12501
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: James M Snell <[email protected]>1 parent 1159a71 commit 58066d1
1 file changed
+5
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
374 | 374 | | |
375 | 375 | | |
376 | 376 | | |
377 | | - | |
378 | | - | |
379 | | - | |
380 | | - | |
381 | | - | |
382 | | - | |
383 | | - | |
384 | | - | |
| 377 | + | |
385 | 378 | | |
386 | | - | |
387 | | - | |
388 | | - | |
| 379 | + | |
389 | 380 | | |
390 | | - | |
391 | | - | |
392 | | - | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
393 | 384 | | |
394 | 385 | | |
395 | 386 | | |
| |||
0 commit comments