/*
* Flashlight applet (widget) for Maemo.
- * Copyright (C) 2009 Roman Moravcik
+ * Copyright (C) 2009, 2010 Roman Moravcik
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
}
libhal_ctx_set_user_data (priv->hal, NULL);
libhal_ctx_free (priv->hal);
+ priv->hal = NULL;
return;
}
libhal_ctx_shutdown (priv->hal, NULL);
libhal_ctx_free (priv->hal);
}
+ priv->hal = NULL;
/* cancel status timer */
if (priv->status_timer) {