mojira.dev
MC-151674

RegionFiles are not closed when they are evicted from cache

In RegionFileCache there is a missing close() call to a region file that is evicted from the cache.

See here: (note these are spigot mappings, without changes from spigot/craftbukkit)

https://gist.github.com/Spottedleaf/dec40400015df81ad2081df35905e3a8

The fix is to simply call the close() method on the evicted RegionFile.

Comments

No comments.

Spottedleaf

boq

Unconfirmed

(Unassigned)

Minecraft 1.14, Minecraft 1.14.1 Pre-Release 1, Minecraft 1.14.1 Pre-Release 2, Minecraft 1.14.1

Minecraft 1.14.2 Pre-Release 1

Retrieved