Skip to content

Commit 52eef14

Browse files
authored
Merge pull request #4929 from IgniteUI/vslavov/combo-destroy
fix(combo): fix potential combo memory leak
2 parents 1e7428c + b2d2ac5 commit 52eef14

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

projects/igniteui-angular/src/lib/combo/combo.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1307,6 +1307,7 @@ export class IgxComboComponent extends DisplayDensityBase implements IgxComboBas
13071307
* @hidden @internal
13081308
*/
13091309
public ngOnDestroy() {
1310+
this.destroy$.next();
13101311
this.destroy$.complete();
13111312
this.comboAPI.clear();
13121313
this.selection.clear(this.id);

0 commit comments

Comments
 (0)