Skip to content

Commit

Permalink
Delete settings dialog immediately
Browse files Browse the repository at this point in the history
Fixes: #11016
  • Loading branch information
TheOneRing committed Jul 7, 2023
1 parent b0734dc commit d787af8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions changelog/unreleased/11016
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Bugfix: Crash during application shutdown

We fixed a where the main instance was accessed after it was destroyed.

https://github.com/owncloud/client/issues/11016
2 changes: 1 addition & 1 deletion src/gui/owncloudgui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ ownCloudGui::ownCloudGui(Application *parent)

ownCloudGui::~ownCloudGui()
{
_settingsDialog->deleteLater();
delete _settingsDialog;
}

// This should rather be in application.... or rather in ConfigFile?
Expand Down

0 comments on commit d787af8

Please sign in to comment.