From 9bcf14f5d19edb8d00cfeb0707ace0ecb54ff548 Mon Sep 17 00:00:00 2001 From: James Liggett Date: Sun, 19 Sep 2010 16:36:49 -0700 Subject: [PATCH] git: Stop all automatic monitor commands when closing a project --- plugins/git/plugin.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/git/plugin.c b/plugins/git/plugin.c index c1545ce34..9b16a073b 100644 --- a/plugins/git/plugin.c +++ b/plugins/git/plugin.c @@ -427,6 +427,10 @@ on_project_root_removed (AnjutaPlugin *plugin, const gchar *name, anjuta_command_stop_automatic_monitor (ANJUTA_COMMAND (git_plugin->local_branch_list_command)); anjuta_command_stop_automatic_monitor (ANJUTA_COMMAND (git_plugin->commit_status_command)); + anjuta_command_stop_automatic_monitor (ANJUTA_COMMAND (git_plugin->remote_list_command)); + anjuta_command_stop_automatic_monitor (ANJUTA_COMMAND (git_plugin->tag_list_command)); + anjuta_command_stop_automatic_monitor (ANJUTA_COMMAND (git_plugin->stash_list_command)); + anjuta_command_stop_automatic_monitor (ANJUTA_COMMAND (git_plugin->ref_command)); g_free (git_plugin->project_root_directory); git_plugin->project_root_directory = NULL; -- 2.11.4.GIT