mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-18 11:22:15 +01:00
Properly close section storage managed files (#8364)
This commit is contained in:
parent
5666320311
commit
0ed6315664
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue