From 326b5ab1b80090d564826d4f1feb7d28b9a11f6d Mon Sep 17 00:00:00 2001 From: Lixfel Date: Sun, 17 Jul 2022 17:00:23 +0200 Subject: [PATCH] Potential stdout clogging up fix. --- src/de/steamwar/bungeecore/Subserver.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/de/steamwar/bungeecore/Subserver.java b/src/de/steamwar/bungeecore/Subserver.java index 4343475..c916f82 100644 --- a/src/de/steamwar/bungeecore/Subserver.java +++ b/src/de/steamwar/bungeecore/Subserver.java @@ -223,6 +223,7 @@ public class Subserver implements Runnable { } cachedPlayers.clear(); + reader.close(); // Prevent stdout clogging up process.waitFor(); } catch(IOException e) { logger.log(Level.SEVERE, "Server " + serverName + " was interrupted!", e);