FakeByte / EpicOnlineTransport

A Transport for Mirror using Epic Online Services
MIT License
252 stars 52 forks source link

Handle null exception when closing P2P session #14

Closed Liam-Harrison closed 3 years ago

Liam-Harrison commented 3 years ago

Summary

This PR addresses a potential issue where messages whose socketId has become null after being enqueued due to a user suddenly being disconnected by the server. Allowing the RecieveData method to continue normally instead of causing cascading errors.