refactor(): dashboard row model and hunting down memory leak

This commit is contained in:
Torkel Ödegaard
2016-10-30 15:14:18 +01:00
parent 57cbefdf0a
commit 4d420a0c33
20 changed files with 364 additions and 45 deletions

View File

@@ -44,8 +44,9 @@ export function infoPopover() {
}
});
scope.$on('$destroy', function() {
var unbind = scope.$on('$destroy', function() {
drop.destroy();
unbind();
});
});