mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Don't crash if network handshake fails and we don't get any data
This commit is contained in:
@@ -378,6 +378,10 @@ public:
|
||||
Serialiser *ser = NULL;
|
||||
GetPacket(type, ser);
|
||||
|
||||
// failed handshaking
|
||||
if(m_Socket == NULL || ser == NULL)
|
||||
return;
|
||||
|
||||
RDCASSERT(type == ePacket_Handshake || type == ePacket_Busy);
|
||||
|
||||
if(type == ePacket_Handshake)
|
||||
|
||||
Reference in New Issue
Block a user