diff --git a/packages/media-utils/src/components/media-upload/index.js b/packages/media-utils/src/components/media-upload/index.js index 732a9bcabd79f..91de011869ad3 100644 --- a/packages/media-utils/src/components/media-upload/index.js +++ b/packages/media-utils/src/components/media-upload/index.js @@ -400,6 +400,8 @@ class MediaUpload extends Component { if ( onClose ) { onClose(); } + + this.frame.detach(); } updateCollection() {