From 0657708dd869a21a1e01323ada73f6ba06ad550f Mon Sep 17 00:00:00 2001 From: "Leandro A. F. Pereira" Date: Mon, 27 Apr 2009 12:06:29 -0300 Subject: Make unloading of modules possible --- hardinfo2/remote.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'hardinfo2/remote.c') 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]); -- cgit v1.2.3