Closed recource leak
Signed-off-by: D4rkr34lm <darth.m.frohn@gmail.com>
Dieser Commit ist enthalten in:
Ursprung
d170e96542
Commit
1bcf415186
@ -122,6 +122,8 @@ public class TraceRecorder implements Listener {
|
|||||||
TraceRecordingWrapper wrappedTrace = activeTraces.getOrDefault(region, null);
|
TraceRecordingWrapper wrappedTrace = activeTraces.getOrDefault(region, null);
|
||||||
if (wrappedTrace == null) return;
|
if (wrappedTrace == null) return;
|
||||||
|
|
||||||
|
wrappedTrace.finalizeRecording();
|
||||||
|
|
||||||
activeTraces.remove(region);
|
activeTraces.remove(region);
|
||||||
for (TNTPrimed tnt : trackedTNT.getOrDefault(region, Collections.emptyList())) {
|
for (TNTPrimed tnt : trackedTNT.getOrDefault(region, Collections.emptyList())) {
|
||||||
historyMap.remove(tnt);
|
historyMap.remove(tnt);
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren