[Bug] can't unload world make server freeze
when player finish dungeon server can't unload that world and make server go freeze
[13:45:02] [Server thread/INFO]: [MythicDungeons] Cleaning up instance 'HangRongBang_0'...
[13:45:02] [Server thread/WARN]: [Multiverse-Core] Hmm Multiverse does not know about this world but it's loaded in memory.
[13:45:02] [Server thread/WARN]: [Multiverse-Core] To let Multiverse know about it, use:
[13:45:02] [Server thread/WARN]: [Multiverse-Core] /mv import HangRongBang_0 NORMAL
[13:45:02] [Server thread/INFO]: [MythicDungeons] -= Unloading world HangRongBang_0 processed in 7ms. =-
[13:45:02] [Server thread/INFO]: [MythicDungeons] -= Cleaning up HangRongBang_0 processed in 25ms. =-
[13:45:03] [Async Chat Thread - #68/INFO]: <[Knight/Lv250] [Royal] [Soul] SBL ~> troll méo vui
[13:45:03] [Paper RegionFile IO Thread/FATAL]: Failed to read chunk data for task: Task for world: 'HangRongBang_0' at -5,0 poi: false, hash: 653182325
java.nio.channels.ClosedChannelException: null
at sun.nio.ch.FileChannelImpl.ensureOpen(Unknown Source) ~[?:?]
at sun.nio.ch.FileChannelImpl.read(Unknown Source) ~[?:?]
at net.minecraft.server.v1_16_R3.RegionFile.a(RegionFile.java:169) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.RegionFileCache.read(RegionFileCache.java:178) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.IChunkLoader.read(IChunkLoader.java:123) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.PlayerChunkMap.read(PlayerChunkMap.java:1684) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.WorldServer$2.readData(WorldServer.java:269) ~[patched_1.16.5.jar:git-Paper-794]
at com.destroystokyo.paper.io.PaperFileIOThread$ChunkDataTask.run(PaperFileIOThread.java:508) ~[patched_1.16.5.jar:git-Paper-794]
at com.destroystokyo.paper.io.QueueExecutorThread.pollTasks(QueueExecutorThread.java:105) ~[patched_1.16.5.jar:git-Paper-794]
at com.destroystokyo.paper.io.QueueExecutorThread.run(QueueExecutorThread.java:38) ~[patched_1.16.5.jar:git-Paper-794]
[13:45:03] [Paper RegionFile IO Thread/FATAL]: Failed to read chunk data for task: Task for world: 'HangRongBang_0' at -4,0 poi: false, hash: 481000218
java.nio.channels.ClosedChannelException: null
at sun.nio.ch.FileChannelImpl.ensureOpen(Unknown Source) ~[?:?]
at sun.nio.ch.FileChannelImpl.read(Unknown Source) ~[?:?]
at net.minecraft.server.v1_16_R3.RegionFile.a(RegionFile.java:169) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.RegionFileCache.read(RegionFileCache.java:178) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.IChunkLoader.read(IChunkLoader.java:123) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.PlayerChunkMap.read(PlayerChunkMap.java:1684) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.WorldServer$2.readData(WorldServer.java:269) ~[patched_1.16.5.jar:git-Paper-794]
at com.destroystokyo.paper.io.PaperFileIOThread$ChunkDataTask.run(PaperFileIOThread.java:508) ~[patched_1.16.5.jar:git-Paper-794]
at com.destroystokyo.paper.io.QueueExecutorThread.pollTasks(QueueExecutorThread.java:105) ~[patched_1.16.5.jar:git-Paper-794]
at com.destroystokyo.paper.io.QueueExecutorThread.run(QueueExecutorThread.java:38) ~[patched_1.16.5.jar:git-Paper-794]
[13:45:03] [Paper RegionFile IO Thread/FATAL]: Failed to read chunk data for task: Task for world: 'HangRongBang_0' at -3,0 poi: false, hash: 1732263392
java.nio.channels.ClosedChannelException: null
at sun.nio.ch.FileChannelImpl.ensureOpen(Unknown Source) ~[?:?]
at sun.nio.ch.FileChannelImpl.read(Unknown Source) ~[?:?]
at net.minecraft.server.v1_16_R3.RegionFile.a(RegionFile.java:169) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.RegionFileCache.read(RegionFileCache.java:178) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.IChunkLoader.read(IChunkLoader.java:123) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.PlayerChunkMap.read(PlayerChunkMap.java:1684) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.WorldServer$2.readData(WorldServer.java:269) ~[patched_1.16.5.jar:git-Paper-794]
at com.destroystokyo.paper.io.PaperFileIOThread$ChunkDataTask.run(PaperFileIOThread.java:508) ~[patched_1.16.5.jar:git-Paper-794]
at com.destroystokyo.paper.io.QueueExecutorThread.pollTasks(QueueExecutorThread.java:105) ~[patched_1.16.5.jar:git-Paper-794]
at com.destroystokyo.paper.io.QueueExecutorThread.run(QueueExecutorThread.java:38) ~[patched_1.16.5.jar:git-Paper-794]
[13:45:03] [Paper Async Chunk Urgent Task Thread/ERROR]: Could not load chunk for task: Chunk task: class:com.destroystokyo.paper.io.chunk.ChunkLoadTask, for world 'HangRongBang_0', (-5,0), hashcode:1912611128, priority: -1, file IO thread has dumped the relevant exception above
[13:45:03] [Paper Async Chunk Urgent Task Thread/ERROR]: Could not load chunk for task: Chunk task: class:com.destroystokyo.paper.io.chunk.ChunkLoadTask, for world 'HangRongBang_0', (-4,0), hashcode:469006547, priority: -1, file IO thread has dumped the relevant exception above
[13:45:03] [Paper Async Chunk Urgent Task Thread/ERROR]: Could not load chunk for task: Chunk task: class:com.destroystokyo.paper.io.chunk.ChunkLoadTask, for world 'HangRongBang_0', (-3,0), hashcode:445805409, priority: -1, file IO thread has dumped the relevant exception above
[13:45:08] [Async Chat Thread - #68/INFO]: <[Berserker/Lv83] [Hero] [Soul] NeyuQ ~> troll troll vi en ko đc đánh
[13:45:13] [Paper Watchdog Thread/ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH - git-Paper-794 (MC: 1.16.5) ---
[13:45:13] [Paper Watchdog Thread/ERROR]: The server has not responded for 10 seconds! Creating thread dump
[13:45:13] [Paper Watchdog Thread/ERROR]: ------------------------------
[13:45:13] [Paper Watchdog Thread/ERROR]: Server thread dump (Look for plugins here before reporting to Paper!):
[13:45:13] [Paper Watchdog Thread/ERROR]: Chunk wait task info below:
[13:45:13] [Paper Watchdog Thread/ERROR]: -4,1 in 'HangRongBang_0:
[13:45:13] [Paper Watchdog Thread/ERROR]: Load Task - none
[13:45:13] [Paper Watchdog Thread/ERROR]: Save Task - none
[13:45:13] [Paper Watchdog Thread/ERROR]: Chunk Holder - non-null
[13:45:13] [Paper Watchdog Thread/ERROR]: Chunk Status - minecraft:full
[13:45:13] [Paper Watchdog Thread/ERROR]: Chunk Ticket Status - minecraft:full
[13:45:13] [Paper Watchdog Thread/ERROR]: Chunk Holder Status - minecraft:features
[13:45:13] [Paper Watchdog Thread/ERROR]: Chunk Holder Priority - 2
[13:45:13] [Paper Watchdog Thread/ERROR]: Chunk Neighbors:
[13:45:13] [Paper Watchdog Thread/ERROR]: -4,0 in HangRongBang_0:
[13:45:13] [Paper Watchdog Thread/ERROR]: Chunk Holder - non-null
[13:45:13] [Paper Watchdog Thread/ERROR]: Chunk Status - null chunk
[13:45:13] [Paper Watchdog Thread/ERROR]: Chunk Ticket Status - minecraft:features
[13:45:13] [Paper Watchdog Thread/ERROR]: Chunk Holder Status - null
[13:45:13] [Paper Watchdog Thread/ERROR]: Chunk Holder Priority - 3