mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-11 02:02:04 -07:00
Properly close section storage managed files (#8364)
This commit is contained in:
@@ -3481,7 +3481,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
@Override
|
@Override
|
||||||
public void close() throws IOException {
|
public void close() throws IOException {
|
||||||
- this.worker.close();
|
- 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
|
+ // Paper start - get data function
|
||||||
|
Reference in New Issue
Block a user