projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f99bd37
)
Add init and cleanup calls for device abstraction
author
Marcel Holtmann
<marcel@holtmann.org>
Wed, 15 Oct 2008 19:36:00 +0000
(21:36 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Wed, 15 Oct 2008 19:36:00 +0000
(21:36 +0200)
src/element.c
patch
|
blob
|
history
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;