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

fix(marker.js): add check to scope teardown #315

Merged
merged 1 commit into from
Sep 2, 2016

Conversation

njirem
Copy link
Contributor

@njirem njirem commented Sep 1, 2016

On a $scope.$destroy the unregisterHandler function is called. This function removes all the eventListeners.
The properties object that these listeners are attached to, might not exist. So during the teardown, an error will be raised.

This fixes issue #314

On a $scope.$destroy the unregisterHandler function is called. This function removes all the eventListeners.
The properties object that these listeners are attached to, might not exist. So during the teardown, an error will be raised.

This fixes issue tombatossals#314
@juristr juristr merged commit f2a72ad into tombatossals:master Sep 2, 2016
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.

None yet

2 participants