U4-6908 - Umbraco's 'detect-fold' directive has memory leaks

Created by Shannon Deminick 31 Jul 2015, 09:13:48 Updated by Shannon Deminick 31 Aug 2015, 14:18:06

Relates to: U4-7045

Subtask of: U4-5829

The window resize event is never unbound, and this directive is used for the buttons on all editors, further more these buttons are created for every tab, so this is a LOT of resize watching that never get unbound.

We also need to ensure that that either: There is a single resize watcher for the editor that tells the buttons what to do, or, we have to un-register the watchers every time a tab is changed.

Comments

Priority: Normal

Type: Task

State: Fixed

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions:

Due in version: 7.3.0

Sprint:

Story Points:

Cycle: