mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-31 20:51:47 +01:00
Properly close section storage managed files (#8364)
This commit is contained in:
parent
5666320311
commit
0ed6315664
@ -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…
Reference in New Issue
Block a user