zachsnow / ng-multi-transclude

ng-multi-transclude
MIT License
79 stars 19 forks source link

Fix memory leak by removing clone when scope is destroyed. #9

Closed dlongley closed 10 years ago

dlongley commented 10 years ago

This PR fixes a memory leak that occurred because the cloned element(s) weren't removed and cleaned up when the directive scope was destroyed. It also adds a missing semi-colon and removes some trailing whitespace.

zachsnow commented 10 years ago

Thanks very much!

dlongley commented 10 years ago

Thank you for a cool lib! Could you bump the bower version and tag a new release with this fix?

zachsnow commented 10 years ago

Yeah of course, sorry for the delay.

dlongley commented 10 years ago

Thanks!