weather-service: free location service properly for destruction
This is needed as the location service is not properly stopped from the portal backend if running in a sandbox otherwise. Signed-off-by: Markus Göllnitz <camelcasenick@bewares.it>
This commit is contained in:
committed by
Georges Basile Stavracas Neto
parent
02465d1bed
commit
47db4a1de3
@@ -1203,7 +1203,7 @@ gcal_weather_service_stop (GcalWeatherService *self)
|
||||
(GAsyncReadyCallback) on_gclue_client_stopped_cb,
|
||||
self->location_service);
|
||||
}
|
||||
self->location_service = NULL;
|
||||
g_clear_object (&self->location_service);
|
||||
}
|
||||
|
||||
GCAL_EXIT;
|
||||
|
||||
Reference in New Issue
Block a user