Propagator: Fix finished signal of directory being emited twice and causing crash
authorOlivier Goffart <ogoffart@woboq.com>
Mon, 6 Mar 2017 12:07:08 +0000 (13:07 +0100)
committerOlivier Goffart <olivier@woboq.com>
Mon, 6 Mar 2017 15:14:04 +0000 (16:14 +0100)
commitf862c626a182c58c245228cf8c4fb00ab29fb869
treeb1740148e9cc64ac9cd31e2043a6dba83918a2f9
parent6487bb071b53cbba12976b36ad7d5f5b102c974d
Propagator: Fix finished signal of directory being emited twice and causing crash

When there is a FatalError, we ended up emiting the finished signal for
the directory job several times, which would lead to crashes

Issue #5578
src/libsync/owncloudpropagator.cpp
test/syncenginetestutils.h
test/testsyncengine.cpp