Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

$destroy on root scope doesn't do anything #5169

Closed
IgorMinar opened this issue Nov 27, 2013 · 1 comment
Closed

$destroy on root scope doesn't do anything #5169

IgorMinar opened this issue Nov 27, 2013 · 1 comment

Comments

@IgorMinar
Copy link
Contributor

see

if ($rootScope == this || this.$$destroyed) return;

we should at least broadcast the $destroy event and mark the scope as destroyed.

@IgorMinar
Copy link
Contributor Author

this issue was created as a result of discussion at #4864

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants