@@ -6014,7 +6014,10 @@ static void service_free(gpointer user_data)
__connman_notifier_service_remove(service);
service_schedule_removed(service);
+ cancel_online_check(service, CONNMAN_IPCONFIG_TYPE_ALL);
+
__connman_wispr_stop(service);
+
stats_stop(service);
service->path = NULL;
@@ -7193,6 +7196,8 @@ static int service_indicate_state(struct connman_service *service)
default_changed();
+ cancel_online_check(service, CONNMAN_IPCONFIG_TYPE_ALL);
+
__connman_wispr_stop(service);
__connman_wpad_stop(service);