mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-01-13 00:05:35 +07:00
Fixed an issue where after a decoding exception, the tile would attempt to be unloaded erroneously
This commit is contained in:
parent
c0f35211e7
commit
34a71052f4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user