summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2014-11-07 14:48:18 +0100
committerStefan Schmidt <s.schmidt@samsung.com>2014-11-07 14:48:18 +0100
commit9f67419ab370efab16c5299b74845c033bbf559d (patch)
treebc75abf957676949991fd1eb4e316571a4c70b86
parentce212de286c004dabc91598682736d791edec98a (diff)
examples/eldebus: Unregister service interface on shutdown.
As we use this as an example for devlopers we better also handle the shutdown case cleanly.
-rw-r--r--src/examples/eldbus/complex-types-server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/examples/eldbus/complex-types-server.c b/src/examples/eldbus/complex-types-server.c
index 9e7f395e6c..19aaa84d6b 100644
--- a/src/examples/eldbus/complex-types-server.c
+++ b/src/examples/eldbus/complex-types-server.c
@@ -384,6 +384,7 @@ main(void)
384 384
385 free(resp2); 385 free(resp2);
386 ecore_timer_del(timer); 386 ecore_timer_del(timer);
387 eldbus_service_interface_unregister(iface);
387 eldbus_connection_unref(conn); 388 eldbus_connection_unref(conn);
388 389
389 eldbus_shutdown(); 390 eldbus_shutdown();