diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-12-15 10:58:48 +0100 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-12-15 11:07:46 +0100 |
commit | 84112d96103073578820e045bb0017a25488ab93 (patch) | |
tree | 7de8230ef854cc1fe64d0b1d739065b491c7943a /tests/data | |
parent | 1930fc8b3150e3084c16557d82dc2c517e3f292b (diff) |
[Net] Fix WebRTC returning packets from peers too early.
Due to the async nature of WebRTC implementations, the multiplayer peer
could end up having queued packets from a given connection before it is
able to emit the "peer_added" signal.
This commit ensures that packets from peers which are not notified yet
are skipped by `get_packet` and `get_available_packet_count`.
Diffstat (limited to 'tests/data')
0 files changed, 0 insertions, 0 deletions