RevenantX / LiteNetLib

Lite reliable UDP library for Mono and .NET
https://revenantx.github.io/LiteNetLib/index.html
MIT License
3.06k stars 495 forks source link

Fixed NRE #506

Closed FirstGearGames closed 1 year ago

FirstGearGames commented 1 year ago

Added null check to Socket.CloseSocket. On iOS Socket can go null after !Socket.Start check, resulting in NRE on CloseSocket.