angular/packages/core/src/resource
arturovt 080b3687d3 fix(core): unregister onDestroy in ResourceImpl when destroy() is called (#61870)
This commit unregisters the `onDestroy` listener when `destroy()` is called on the `ResourceImpl`. This prevents memory leaks and ensures that the resource reference is not captured in the destroy callback after it has already been destroyed.

PR Close #61870
2025-06-04 14:23:13 -04:00
..
api.ts fix(core): getting resource value throws an error instead of returning undefined (#61441) 2025-05-21 12:06:40 -07:00
index.ts feat(core): experimental resource() API for async dependencies (#58255) 2024-10-21 13:25:58 -07:00
resource.ts fix(core): unregister onDestroy in ResourceImpl when destroy() is called (#61870) 2025-06-04 14:23:13 -04:00