examples/eldebus: Unregister service interface on shutdown.

As we use this as an example for devlopers we better also handle the
shutdown case cleanly.
This commit is contained in:
Stefan Schmidt 2014-11-07 14:48:18 +01:00
parent ce212de286
commit 9f67419ab3
1 changed files with 1 additions and 0 deletions

View File

@ -384,6 +384,7 @@ main(void)
free(resp2);
ecore_timer_del(timer);
eldbus_service_interface_unregister(iface);
eldbus_connection_unref(conn);
eldbus_shutdown();