mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-154592 Deadlock in MergingUpdateQueue
This commit is contained in:
@@ -427,10 +427,11 @@ public class Alarm implements Disposable {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
Runnable task;
|
||||
synchronized (LOCK) {
|
||||
Runnable task = myTask;
|
||||
return super.toString() + (task != null ? ": "+task : "");
|
||||
task = myTask;
|
||||
}
|
||||
return super.toString() + (task != null ? ": "+task : "");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user