Garbage Collection Cycle Count Increases on Player Disconnect #6484
Labels
Category: Core
Related to internal functionality
Status: Debugged
Cause of the bug has been found, but not fixed
Issue description
/gc
in the console should showCycles: 0
after a player disconnects./gc
showsCycles: 38
after a player disconnects.This issue is caused by this code:
PocketMine-MP/src/inventory/ArmorInventory.php
Line 45 in b3b8aad
Steps to reproduce the issue
/gc
in the console to check the garbage collection cycle count.OS and versions
Plugins
Plugins (0):
The text was updated successfully, but these errors were encountered: