Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added check in complete()-callback to break when menu was disposed #150

Merged
merged 1 commit into from
Oct 30, 2017

Conversation

WoMayr
Copy link
Contributor

@WoMayr WoMayr commented Oct 17, 2017

No description provided.

@WoMayr
Copy link
Contributor Author

WoMayr commented Oct 30, 2017

@onokumus could you please review this PR?

@onokumus
Copy link
Owner

Hi @WoMayr , I'm sorry I wrote late. But why is this code necessary? Can you explain?

@WoMayr
Copy link
Contributor Author

WoMayr commented Oct 30, 2017

thanks for the prompt answer.

We have one usecase where it is possible that a menu entry gets clicked and while the animation is running, the menu gets disposed.

My code is in this case necessary to prevent the complete-callback that gets called after the animation is finished to access the _config object that gets deleted when the menu is disposed.

@onokumus onokumus merged commit b2b493b into onokumus:master Oct 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants