Skip to content

Commit da0e3b7

Browse files
committed
fix(modal): double measures taken that no emission will happen after we close the dialog
1 parent aef99ce commit da0e3b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/modal/modal.service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ export class ModalService {
164164
close<T>(result?: T) {
165165
this.removeModalPortal();
166166
this.closeSubject$.next(result);
167+
this.closeSubject$.complete();
167168
}
168169

169170
private createModalContainer() {

0 commit comments

Comments
 (0)