projects
/
framework
/
connectivity
/
connman.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add init and cleanup calls for device abstraction
[framework/connectivity/connman.git]
/
src
/
element.c
diff --git
a/src/element.c
b/src/element.c
index
c045c69
..
78a550e
100644
(file)
--- 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;