Skip to content
This repository was archived by the owner on Nov 30, 2018. It is now read-only.

issue 1524 Window Scope Leaks #1528

Merged

Conversation

nmccready
Copy link
Contributor

fix(window memory scope leaks): - WindowsParent model now correctly destroys its child model's scopes. - coffeelint fixes - templates in child windows will destroy when its window scope destroys

issue #1524

- WindowsParent model now correctly destroys its child model's scopes.
- coffeelint fixes
- templates in child windows will destroy when its window scope destroys

issue angular-ui#1524
@@ -47,6 +47,7 @@ angular.module('uiGmapgoogle-maps.directives.api.models.child')
else
action = new PropertyAction (calledKey, newVal) =>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

small bug here where clicked marker was not updating as there was no key, forcing the key all allows updated to propagate through.

@nmccready
Copy link
Contributor Author

I tested the crap out of this against the example.js/html but it would be nice to add specs for looking for leaks eventually. Maybe someone else can work this?

@nmccready
Copy link
Contributor Author

@cthrax @wrummler

nmccready added a commit that referenced this pull request Sep 23, 2015
@nmccready nmccready merged commit f866da0 into angular-ui:master Sep 23, 2015
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.

1 participant