From: Roman Moravcik Date: Wed, 10 Mar 2010 13:27:11 +0000 (+0100) Subject: Applied fix for a bug 5369: Hildon-status-menu crashed when uninstalling applications X-Git-Tag: v0.4-1~16 X-Git-Url: http://git.maemo.org/git/?p=flashlight-appl;a=commitdiff_plain;h=3e7ea2b00ac1381d47cef1352586a90d0fda4955 Applied fix for a bug 5369: Hildon-status-menu crashed when uninstalling applications --- diff --git a/src/flashlight_applet.c b/src/flashlight_applet.c index 944c40c..285d596 100644 --- a/src/flashlight_applet.c +++ b/src/flashlight_applet.c @@ -324,6 +324,7 @@ flashlight_status_plugin_finalize (GObject *object) if (priv->hal) { libhal_device_remove_property_watch (priv->hal, CAM_COVER_UDI, NULL); libhal_ctx_set_user_data (priv->hal, NULL); + libhal_ctx_shutdown (priv->hal, NULL); libhal_ctx_free (priv->hal); }