From 0ed631566491ac0e57ff721b64a1371f7fe9d0a4 Mon Sep 17 00:00:00 2001 From: Bjarne Koll Date: Sat, 17 Sep 2022 20:50:01 +0200 Subject: [PATCH] Properly close section storage managed files (#8364) --- patches/server/Asynchronous-chunk-IO-and-loading.patch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/patches/server/Asynchronous-chunk-IO-and-loading.patch b/patches/server/Asynchronous-chunk-IO-and-loading.patch index 3e3083e319..685709fd5e 100644 --- a/patches/server/Asynchronous-chunk-IO-and-loading.patch +++ b/patches/server/Asynchronous-chunk-IO-and-loading.patch @@ -3481,7 +3481,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 @Override public void close() throws IOException { - this.worker.close(); -+ //this.worker.close(); // Paper - nuke I/O worker ++ //this.worker.close(); // Paper - nuke I/O worker - don't call the worker ++ super.close(); // Paper - nuke I/O worker - call super.close method which is responsible for closing used files. + } + + // Paper start - get data function