/lib/Client.php wrench just keeps pushing payloads to the received array without ever cleaning it.
If the Wrench client is run in a loop, the array just keeps growing.
I don't see any reason to keep the previous received messages and calculating the diff on each receive() call.
/lib/Client.php wrench just keeps pushing payloads to the received array without ever cleaning it.
If the Wrench client is run in a loop, the array just keeps growing. I don't see any reason to keep the previous received messages and calculating the diff on each receive() call.