We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e92813f commit 9efbcbcCopy full SHA for 9efbcbc
src/components/dialog/dialog-container.ts
@@ -50,7 +50,11 @@ export class MdDialogContainer extends BasePortalHost implements AfterViewInit {
50
51
this._deferredAttachPortal = null;
52
this._deferredAttachCompleter = null;
53
- }, () => this._deferredAttachCompleter.reject());
+ }, () => {
54
+ this._deferredAttachCompleter.reject();
55
+ this._deferredAttachCompleter = null;
56
+ this._deferredAttachPortal = null;
57
+ });
58
}
59
60
0 commit comments