Closed GameParrot closed 1 year ago
Ah, good catch. Ideally we should have some sort of semaphore/mutex inside RakNet to properly synchronize the RakNet network and JS threads, as opposed to this kind of polling. This current change will spend more CPU cycles, however it seems better than passing down excess latency to users. Thanks for looking into it.
should improve ping