mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-25 06:25:56 +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()
|
SyncEngine::~SyncEngine()
|
||||||
{
|
{
|
||||||
|
_excludedFiles.reset();
|
||||||
csync_destroy(_csync_ctx);
|
csync_destroy(_csync_ctx);
|
||||||
_thread.quit();
|
_thread.quit();
|
||||||
_thread.wait();
|
_thread.wait();
|
||||||
|
|
Loading…
Reference in a new issue