diff --git a/plugins/org.eclipse.glsp.server/src/org/eclipse/glsp/server/internal/actions/DefaultActionDispatcher.java b/plugins/org.eclipse.glsp.server/src/org/eclipse/glsp/server/internal/actions/DefaultActionDispatcher.java index 06c32cdd..6aed0da7 100644 --- a/plugins/org.eclipse.glsp.server/src/org/eclipse/glsp/server/internal/actions/DefaultActionDispatcher.java +++ b/plugins/org.eclipse.glsp.server/src/org/eclipse/glsp/server/internal/actions/DefaultActionDispatcher.java @@ -199,9 +199,9 @@ protected List> runAction(final Action action) { .map(response -> ResponseAction.respond(action, response)) .collect(Collectors.toList()); results.addAll(dispatchAll(responses)); - if (action instanceof UpdateModelAction) { - results.add(dispatchPostUpdateQueue()); - } + } + if (action instanceof UpdateModelAction) { + results.add(dispatchPostUpdateQueue()); } return results; }