Don't abort propagation job abortions synchronously from finished
authorJocelyn Turcotte <jturcotte@woboq.com>
Fri, 17 Feb 2017 11:57:24 +0000 (12:57 +0100)
committerJocelyn Turcotte <jturcotte@woboq.com>
Thu, 23 Feb 2017 16:54:33 +0000 (17:54 +0100)
commit793a994ce69c05d54c0a1a75f4bd3ca12dc41f51
tree56118ef5d841dc9de278c45b39e0d4e2653240c7
parent19bf5e2ff13d5bf94eec4aa972272fa5b5ab62fc
Don't abort propagation job abortions synchronously from finished

This leads to crashes since we changed the connection to the parent
jobs not to be queued anymore.
We don't really need to bubble up the finished state through
parents in that case, and it would also mean that we'd recurse
all the way through leaves as we go up to each parent. So just call
abort directly on the OwncloudPropagator and make sure the abortion
call is posted to the event loop.
src/libsync/owncloudpropagator.cpp
src/libsync/owncloudpropagator.h