[COMPASS-4742] Compass plugins are leaking event listeners Created: 30/Mar/21 Updated: 08/Aug/22 |
|
| Status: | Open |
| Project: | Compass |
| Component/s: | Plugins |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Investigation | Priority: | Major - P3 |
| Reporter: | Sergey Petushkov | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
We noticed that a lot of compass plugins are being re-instantiated without cleaning up their listeners when deactivated. This leads to multiple listeners leaking and possible issues, as the one spotted in For the linked issue we introduced an intermediate fix, but the root cause should be addressed: plugins should not leak event listeners when deactivated. |