perform p4 commands on change list updater thread to prevent race conditions (IDEA-93443, IDEA-95639, IDEA-98829, IDEA-98248, IDEA-98249)

This commit is contained in:
peter
2013-01-14 16:37:54 +01:00
parent d48cf3afef
commit 7d80bca02f
@@ -1462,6 +1462,10 @@ public class ChangeListManagerImpl extends ChangeListManagerEx implements Projec
myUpdater.forceGo();
}
public void executeOnUpdaterThread(Runnable r) {
ourUpdateAlarm.get().execute(r);
}
/**
* Can be called only from not AWT thread; to do smthg after ChangeListManager refresh, call invokeAfterUpdate
*/