Skip to content

Commit 8e3acf2

Browse files
committed
Schedule processing when topmost call has already finished
1 parent 1f8b842 commit 8e3acf2

File tree

1 file changed

+1
-1
lines changed
  • generic/src/main/java/org/netbeans/html/presenters/spi

1 file changed

+1
-1
lines changed

generic/src/main/java/org/netbeans/html/presenters/spi/Generic.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ final String javacall(
667667
params.addAll(Arrays.asList((Object[]) args));
668668
Object[] converted = adaptParams(method, params);
669669
Item top = topMostCall();
670-
boolean first = top == null;
670+
boolean first = top == null || Boolean.TRUE.equals(top.done);
671671
log(Level.FINE, "jc: {0}@{1}args: {2} is first: {3}, now: {4}", new Object[]{method.getName(), vm, params, first, topMostCall()});
672672
Item newItem = registerCall(new Item(nextCallId(), top, method, vm, converted));
673673
if (first || synchronous) {

0 commit comments

Comments
 (0)