find_angular_subscription_leaks
Detects Angular subscription leaks by checking if subscribe() calls in components, directives, and services are cleaned up via ngOnDestroy, unsubscribe, takeUntil, or async pipe.
Instructions
Uncleaned subscriptions (heuristic): subscribe() in components/directives/services without ngOnDestroy/unsubscribe/takeUntil/async pipe in the class (comments are ignored).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name or path of the loaded project |