-
Notifications
You must be signed in to change notification settings - Fork 951
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
proprly clear viewHooks when destroying a hook
Relates to: #3496 Fixes: #3623 In #3496, I cleared the hookId on the element in destroyed, but the view's destroyHook function actually relied on the hookId to clean up the view's viewHooks object. This would cause hooks' destroy function to be called multiple times, as the view was not able to remove old hooks.
- Loading branch information
Showing
2 changed files
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters