mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
robust removeAllBreakpoints
catch error while open new tab (attach debugger) Chrome still crashed on speed search in Variable View.
This commit is contained in:
@@ -184,6 +184,16 @@ public class ActionCallback implements Disposable {
|
||||
myCallbacks.add(callback);
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public ActionCallback create() {
|
||||
ActionCallback result = new ActionCallback(myCallbacks.size());
|
||||
Runnable doneRunnable = result.createSetDoneRunnable();
|
||||
for (ActionCallback each : myCallbacks) {
|
||||
each.doWhenDone(doneRunnable).notifyWhenRejected(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public ActionCallback getWhenProcessed() {
|
||||
final ActionCallback result = new ActionCallback(myCallbacks.size());
|
||||
|
||||
Reference in New Issue
Block a user