mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
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:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user