Skip to content
Snippets Groups Projects
Unverified Commit c72e93a1 authored by David Sehnal's avatar David Sehnal Committed by GitHub
Browse files

Merge pull request #452 from simeonborko/sborko/screenshot-unmount

DownloadScreenshotControls: componentWillUnmount
parents e7ce693e 21f910a3
No related branches found
No related tags found
No related merge requests found
......@@ -58,6 +58,7 @@ export class DownloadScreenshotControls extends PluginUIComponent<{ close: () =>
}
componentWillUnmount() {
super.componentWillUnmount();
this.setState({ imageData: void 0 });
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment