nemomobile/buteo-syncfw — pull request #73 by antseppa (2014-10-29 10:51:05+00:00)
Title: [buteo-syncfw] Stop existing background activity before updating it

BackgroundSync::set updates wakeup frequency for existing
background activity and calls its wait() method. If activity's state
was already Waiting, the state doesn't change, nothing happens and
the existing background activity keeps running until the previously
set time expires.
This patch stops the existing background activity first.