Fix code typo regarding removing pings from pendingPings

This commit is contained in:
Kyler Eastridge
2025-07-01 10:42:11 -04:00
parent 2787c651d8
commit 0462af1193

View File

@@ -139,7 +139,7 @@ class Simulator(EventTarget):
try:
await asyncio.wait_for(future, timeout=timeout)
except asyncio.TimeoutError:
del self.pendingPings.pop[msg.PingID.PingID]
del self.pendingPings[msg.PingID.PingID]
return False
return True