mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
git: fix tests
Task.queue() should be called from EDT
it was broken in 7281d44 - BackgroundTaskQueue allows non-EDT access
This commit is contained in:
@@ -168,7 +168,7 @@ public class GitVcs extends AbstractVcs<CommittedChangeList> {
|
||||
* @param task the task to run
|
||||
*/
|
||||
public static void runInBackground(Task.Backgroundable task) {
|
||||
task.queue();
|
||||
UIUtil.invokeLaterIfNeeded(() -> task.queue());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user