From 7d8f97e3e07f65b90fed9a10de78cdb285acc455 Mon Sep 17 00:00:00 2001 From: Leandro Pereira Date: Sun, 3 Jan 2010 22:24:20 -0200 Subject: Fixed a bug that would crash the shell if there were ShellFieldUpdates timers pending after modules were unloaded. --- hardinfo2/util.c | 1 + 1 file changed, 1 insertion(+) (limited to 'hardinfo2/util.c') 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); -- cgit v1.2.3