Skip to content

Commit

Permalink
Fix concurrent modification exception in RemoteAction by taking care …
Browse files Browse the repository at this point in the history
…that the impacted remote actions are only accessed once the controller initialization is done.
  • Loading branch information
DivineThreepwood committed Nov 7, 2023
1 parent 5ccb18a commit d4ad087
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -643,6 +643,11 @@ public boolean isRunning() {
*/
@Override
public boolean isDone() {

if (futureObservationTask != null && !futureObservationTask.isDone()) {
return false;
}

try {
if (getActionDescription().getIntermediary()) {
for (final RemoteAction impactedRemoteAction : impactedRemoteActions) {
Expand Down

0 comments on commit d4ad087

Please sign in to comment.