Merge pull request #956 from xiaoyifang/fix/profile-release

fix: warning about "Release of profile requested but WebEnginePage st…
This commit is contained in:
xiaoyifang 2023-07-12 15:49:04 +08:00 committed by GitHub
commit 7421e5d799
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1116,6 +1116,11 @@ MainWindow::~MainWindow()
delete w; delete w;
} }
if ( scanPopup ) {
delete scanPopup;
scanPopup = nullptr;
}
#ifndef NO_EPWING_SUPPORT #ifndef NO_EPWING_SUPPORT
Epwing::finalize(); Epwing::finalize();
#endif #endif