fix: close CompletionModal when unmounted (#36991)

This commit is contained in:
Oliver Eyton-Williams
2019-10-03 18:42:24 +02:00
committed by mrugesh
parent fec32bbbac
commit 3c006d1823

View File

@ -97,6 +97,7 @@ export class CompletionModal extends Component {
if (this.state.downloadURL) {
URL.revokeObjectURL(this.state.downloadURL);
}
this.props.close();
}
render() {