From eae556dcaff92fc0e7c5915d364839c0c3e52a40 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Wed, 15 Oct 2008 21:36:00 +0200 Subject: [PATCH] Add init and cleanup calls for device abstraction --- src/element.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/element.c b/src/element.c index c045c69..78a550e 100644 --- a/src/element.c +++ b/src/element.c @@ -1229,6 +1229,8 @@ int __connman_element_init(DBusConnection *conn, const char *device) thread_unregister_children = g_thread_pool_new(unregister_children, NULL, 1, FALSE, NULL); + __connman_device_init(); + return 0; } @@ -1266,6 +1268,8 @@ void __connman_element_cleanup(void) { DBG(""); + __connman_device_cleanup(); + g_thread_pool_free(thread_register, TRUE, TRUE); thread_register = NULL; -- 2.7.4