mirror of
https://github.com/ValveSoftware/GameNetworkingSockets.git
synced 2026-05-29 16:20:34 +00:00
Remove unnecessary call to UpdateFakeRateLimitTokenBuckets
This just spends CPU time with no benefit, and also leads to a
(probably harmless) tsan warning
(cherry picked from commit 951a3a967b)
This commit is contained in:
@@ -2600,7 +2600,6 @@ static bool PollRawUDPSockets( int nMaxTimeoutMS, bool bManualPoll )
|
||||
|
||||
// We're back awake. Grab the lock again
|
||||
SteamNetworkingMicroseconds usecStartedLocking = SteamNetworkingSockets_GetLocalTimestamp();
|
||||
UpdateFakeRateLimitTokenBuckets( usecStartedLocking );
|
||||
for (;;)
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user