This repository was archived by the owner on May 29, 2019. It is now read-only.
Commit b5a80c0
fix(Typeahead): Fix for memory-leak in typeahead
Remove template element in order to prevent memory leak when directive is instantiated/destroyed
Move element removal to $destroy block to be safe1 parent 87a3607 commit b5a80c0
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
321 | 321 | | |
322 | 322 | | |
323 | 323 | | |
| 324 | + | |
| 325 | + | |
324 | 326 | | |
325 | 327 | | |
326 | 328 | | |
| 329 | + | |
327 | 330 | | |
328 | 331 | | |
329 | 332 | | |
| |||
0 commit comments