mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-24 22:15:57 +03:00
Merge pull request #4584 from lultimouomo/fix-destruction-order
Fix crash due to destruction order
This commit is contained in:
commit
c55ac504a3
1 changed files with 1 additions and 0 deletions
|
@ -99,6 +99,7 @@ SyncEngine::SyncEngine(AccountPtr account, const QString& localPath,
|
|||
|
||||
SyncEngine::~SyncEngine()
|
||||
{
|
||||
_excludedFiles.reset();
|
||||
csync_destroy(_csync_ctx);
|
||||
_thread.quit();
|
||||
_thread.wait();
|
||||
|
|
Loading…
Reference in a new issue