diff --git a/src/libsync/syncengine.cpp b/src/libsync/syncengine.cpp index b4a549e11..7eb50550e 100644 --- a/src/libsync/syncengine.cpp +++ b/src/libsync/syncengine.cpp @@ -99,6 +99,7 @@ SyncEngine::SyncEngine(AccountPtr account, const QString& localPath, SyncEngine::~SyncEngine() { + _excludedFiles.reset(); csync_destroy(_csync_ctx); _thread.quit(); _thread.wait();