aboutsummaryrefslogtreecommitdiff
path: root/src/mm-error-helpers.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2016-01-16 17:30:01 +0100
committerAleksander Morgado <aleksander@aleksander.es>2016-01-16 17:59:49 +0100
commitdfd111f29112918d7f2046297670a7481a883354 (patch)
treef7872cfa6c0eadfdfa67caff0801fc659f19506b /src/mm-error-helpers.c
parent87bafa33dc6b1d58a67147a802bd498f9a2f80d6 (diff)
tests,test-fixture: don't rely on other threads to update dbus properties
We were wrongly using a main loop in the port context thread to manage the global main context. That was silently making the DBus property notifications kind of work, as they were being updated via another thread, so here we could just sleep() and recheck the property values. Given that having that unrelated thread updating the dbus properties of our MMManager object is not a good thing, we'll instead totally ignore that and fully re-create the MMManager in each iteration with the sync() method, which has its own internal thread.
Diffstat (limited to 'src/mm-error-helpers.c')
0 files changed, 0 insertions, 0 deletions