Skip to content

Commit 073e542

Browse files
crisbetojelbourn
authored andcommitted
fix(sidenav): some internal subjects not being completed (#15567)
Fixes a couple of internal subjects not being completed in MatDrawer and MatDrawerContainer.
1 parent eb84d5e commit 073e542

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib/sidenav/drawer.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,7 @@ export class MatDrawer implements AfterContentInit, AfterContentChecked, OnDestr
345345

346346
this._animationStarted.complete();
347347
this._animationEnd.complete();
348+
this._modeChanged.complete();
348349
this._destroyed.next();
349350
this._destroyed.complete();
350351
}
@@ -561,6 +562,7 @@ export class MatDrawerContainer implements AfterContentInit, DoCheck, OnDestroy
561562
}
562563

563564
ngOnDestroy() {
565+
this._contentMarginChanges.complete();
564566
this._doCheckSubject.complete();
565567
this._destroyed.next();
566568
this._destroyed.complete();

0 commit comments

Comments
 (0)