Skip to content
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.

fix layout memory leak #230

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pabloes
Copy link

@pabloes pabloes commented Jun 13, 2017

I fixed a memory leak in Layout service addLayout method by removing the controller from the layouts array when the directive ui-layout is destroyed.

I also changed the layout id generation from the array length (because we remove items when layout directive destroyed) to a simple increment.

@pabloes pabloes mentioned this pull request Jun 14, 2017
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