Properly close section storage managed files (#8364)

This commit is contained in:
Bjarne Koll 2022-09-17 20:50:01 +02:00
parent 5666320311
commit 0ed6315664

View File

@ -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