From 16b4427e669cef85e5f575d945f865310f2011c8 Mon Sep 17 00:00:00 2001
From: ulrich
Date: Wed, 24 Mar 2021 23:28:33 +0000
Subject: [PATCH] FileHandler angepasst

---
 src/de/uhilger/avdirektor/handler/StopServerHandler.java |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/de/uhilger/avdirektor/handler/StopServerHandler.java b/src/de/uhilger/avdirektor/handler/StopServerHandler.java
index b28a8bf..8812fe8 100644
--- a/src/de/uhilger/avdirektor/handler/StopServerHandler.java
+++ b/src/de/uhilger/avdirektor/handler/StopServerHandler.java
@@ -21,6 +21,7 @@
     exchange.sendResponseHeaders(200, response.length());
     OutputStream os = exchange.getResponseBody();
     os.write(response.getBytes());
+    os.flush();
     os.close();
     Logger.getLogger(StopServerHandler.class.getName()).info("stopping app.");    
     App.stop();

--
Gitblit v1.9.3