Skip to content

Commit 3e5ff38

Browse files
committed
Add assert for thread
1 parent 3ab87fc commit 3e5ff38

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libsync/syncengine.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,7 @@ void SyncEngine::slotPropagationFinished(bool success)
634634

635635
void SyncEngine::finalize(bool success)
636636
{
637+
Q_ASSERT(qApp->thread() == thread());
637638
qCInfo(lcEngine) << u"Sync run for" << _localPath << u"took" << _duration;
638639
_duration.stop();
639640

0 commit comments

Comments
 (0)