eclipse-theia/theia

[lint][performance] detect uncollected disposables

Open

#8,005 opened on Jun 14, 2020

View on GitHub
 (0 comments) (0 reactions) (0 assignees)TypeScript (18,676 stars) (2,478 forks)batch import
help wantedlintingperformancequality

Description

Leaking disposables cat capture other objects and cause memory leaks, i.e. the common use case listeners leaking widget or react components. It would be good to have linting rule for such cases. One should consider that there can be use cases when it is not necessary, i.e. for services which are bound to the application lifetime.

Contributor guide