aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/remote.c
diff options
context:
space:
mode:
authorLeandro A. F. Pereira <leandro@hardinfo.org>2009-04-27 12:06:29 -0300
committerLeandro A. F. Pereira <leandro@hardinfo.org>2009-04-27 12:06:29 -0300
commit0657708dd869a21a1e01323ada73f6ba06ad550f (patch)
treef47963c8b77bd140ed5499f45557412ee5791337 /hardinfo2/remote.c
parent22f840d9ca7fade0ebeeb44c54fad3cc64b07ac7 (diff)
Make unloading of modules possible
Diffstat (limited to 'hardinfo2/remote.c')
-rw-r--r--hardinfo2/remote.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hardinfo2/remote.c b/hardinfo2/remote.c
index 556299ca..5abf3a91 100644
--- a/hardinfo2/remote.c
+++ b/hardinfo2/remote.c
@@ -98,6 +98,9 @@ static gboolean load_module_list()
return FALSE;
}
+ shell_status_update("Unloading local modules...");
+ module_unload_all();
+
for (; i < modules->n_values; i++) {
GValueArray *entries;
const gchar *module = g_value_get_string(&modules->values[i]);