Fixed an issue where after a decoding exception, the tile would attempt to be unloaded erroneously

This commit is contained in:
Collin Smith 2025-01-05 14:02:42 -08:00
parent c0f35211e7
commit 34a71052f4

View File

@ -2125,6 +2125,7 @@ public class MpqViewer extends Tool {
@Override
public void dispose() {
super.dispose();
if (ref.get() == null) return;
log.debug("Unloading {}", ref.get());
assets.unload(ref.get());
log.debug("Unloading dt1 blocks {}", blocksRef);