mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-25 09:59:49 -05:00
Prevent memory leak
This commit is contained in:
1 parent
53e9cb6066
commit
ece3794f0e
1 file changed
+1
@@ -271,6 +271,7 @@ public class VirtualDisplayItem extends DisplayItem {
|
||||
protocolManager.getAsynchronousManager().unregisterAsyncHandler(packetAdapter);
|
||||
//protocolManager.removePacketListener(packetAdapter);
|
||||
//Prevent memory leak
|
||||
asyncListenerHandler = null;
|
||||
packetAdapter = null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user