()
| 510 | } |
| 511 | |
| 512 | deactivate(): void { |
| 513 | const activeBridgeByHookId = getActiveBridgeRegistry() |
| 514 | if (activeBridgeByHookId.get(this.options.hookId) === this) { |
| 515 | activeBridgeByHookId.delete(this.options.hookId) |
| 516 | } |
| 517 | |
| 518 | for (const unsubscribe of this.unsubscribers.splice(0)) { |
| 519 | unsubscribe() |
| 520 | } |
| 521 | } |
| 522 | |
| 523 | supersede(): void { |
| 524 | if (this.disposed) { |
no test coverage detected