Closed RAOF closed 5 years ago
g_autoptr(GTask) task will be unreffed when it leaves scope. If we want it to be available in 2 seconds' time in the idle callback we'll need to explicitly transfer ownership.
g_autoptr(GTask) task
This is obviously because I've been testing running with --create-dummy-sensor and finding that the tests crash the daemon.
--create-dummy-sensor
g_autoptr(GTask) task
will be unreffed when it leaves scope. If we want it to be available in 2 seconds' time in the idle callback we'll need to explicitly transfer ownership.