Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Fix #2838, unload uicontrol event handlers properly #2942

Merged
merged 1 commit into from
May 31, 2017
Merged

Conversation

ianb
Copy link
Contributor

@ianb ianb commented May 31, 2017

No description provided.

@jaredhirsch jaredhirsch self-requested a review May 31, 2017 22:29
Copy link
Member

@jaredhirsch jaredhirsch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was able to repro the original bug following the steps in #2896. With this patch applied, the bug does not occur.

The diff is a little muddled; pinged ian in IRC, he mentioned that the key issue here is using the key 'handler' in registeredDocumentHandler objects, not 'watchHandler'.

👍 merging

@jaredhirsch jaredhirsch merged commit 2d064b7 into master May 31, 2017
@jaredhirsch jaredhirsch deleted the fix-unload branch May 31, 2017 22:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants