From 6a159827e50be33256bf08fe11620337c62d8284 Mon Sep 17 00:00:00 2001 From: Dmitry Avdeev Date: Fri, 6 Nov 2009 12:47:11 +0300 Subject: [PATCH] IDEADEV-41195: Assertion from Git support --- plugins/git4idea/src/git4idea/vfs/GitRootTracker.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/git4idea/src/git4idea/vfs/GitRootTracker.java b/plugins/git4idea/src/git4idea/vfs/GitRootTracker.java index 0d050c2a7065..58f1c250a4b7 100644 --- a/plugins/git4idea/src/git4idea/vfs/GitRootTracker.java +++ b/plugins/git4idea/src/git4idea/vfs/GitRootTracker.java @@ -196,7 +196,11 @@ public class GitRootTracker implements VcsListener { * {@inheritDoc} */ public void directoryMappingChanged() { - scheduleRootsCheck(true); + ApplicationManager.getApplication().invokeLater(new Runnable() { + public void run() { + scheduleRootsCheck(true); + } + }); } private void scheduleRootsCheck(final boolean rootsChanged) {