]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/commands/CommandSessionWithModules.java
SCL REST API server
[simantics/platform.git] / bundles / org.simantics.scl.compiler / src / org / simantics / scl / compiler / commands / CommandSessionWithModules.java
index 5ca800a21d950f46c7f6b889aa074cf4bbf21d9a..57858a5cfec103a5b9cacb6635b5d444a8a9dedc 100644 (file)
@@ -78,6 +78,7 @@ public class CommandSessionWithModules {
             public void print(String text) {
                 try {
                     responseWriter.write(text + "\n");
+                    responseWriter.flush();
                 } catch (IOException e) {
                     CommandSessionWithModules.LOGGER.error("Writing reponse failed.", e);
                 }