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

fix(Scope): ensure that a scope is destroyed only once #1631

Closed
wants to merge 1 commit into from

Conversation

IgorMinar
Copy link
Contributor

Due to bd524fc calling $destroy() on a scope mupltiple times cases NPE.

Closes #1627

Due to bd524fc calling $destroy() on a scope mupltiple times cases NPE.

Closes angular#1627
@petebacondarwin
Copy link
Contributor

LGTM

This Plunkr has this commits changes and the issue in #1627 does occur now: http://plnkr.co/edit/IOeW5Q?p=preview

@IgorMinar
Copy link
Contributor Author

does occur?

@IgorMinar
Copy link
Contributor Author

looks good on plunker

@IgorMinar
Copy link
Contributor Author

landed this as d6da505

@IgorMinar IgorMinar closed this Nov 30, 2012
@petebacondarwin
Copy link
Contributor

Sorry "doesn't"

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.

Angular 1.0.3 breaks directives using ng-transclude
2 participants