aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/util.c
diff options
context:
space:
mode:
authorLeandro Pereira <leandro@hardinfo.org>2010-01-03 22:24:20 -0200
committerLeandro Pereira <leandro@hardinfo.org>2010-01-03 22:24:20 -0200
commit7d8f97e3e07f65b90fed9a10de78cdb285acc455 (patch)
treef5a8460da0c05adae2c7e1582a717b7e38359656 /hardinfo2/util.c
parent71c946914e692c1d2eda6f0dcdfdc1839789110b (diff)
Fixed a bug that would crash the shell if there were ShellFieldUpdates timers pending after modules were unloaded.
Diffstat (limited to 'hardinfo2/util.c')
-rw-r--r--hardinfo2/util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hardinfo2/util.c b/hardinfo2/util.c
index 67277b53..131f667e 100644
--- a/hardinfo2/util.c
+++ b/hardinfo2/util.c
@@ -640,6 +640,7 @@ void module_unload_all(void)
sync_manager_clear_entries();
shell_clear_timeouts(shell);
shell_clear_tree_models(shell);
+ shell_clear_field_updates();
shell_set_title(shell, NULL);
g_slist_free(shell->tree->modules);