()
| 666 | // primarily used for preventing strong references cycles. `onAbort` is always reachable |
| 667 | // as it's an event listener, so its closure retains a strong reference to the `task`. |
| 668 | const onAbort = () => task.zone.cancelTask(task); |
| 669 | nativeListener.call(signal, 'abort', onAbort, {once: true}); |
| 670 | // We need to remove the `abort` listener when the event listener is going to be removed, |
| 671 | // as it creates a closure that captures `task`. This closure retains a reference to the |
nothing calls this directly
no test coverage detected
searching dependent graphs…