Merge branch 'AFXFIX4_RefcountCatch' into Jeff_Faust_Fixes

This commit is contained in:
Azaezel 2014-12-22 18:09:32 -06:00
commit 566a6e9fe6

View file

@ -344,6 +344,8 @@ void NetConnection::eventReadPacket(BitStream *bstream)
if(unguaranteedPhase)
{
evt->process(this);
if (evt->getRefCount() == 0)
evt->incRef();
evt->decRef();
if(mErrorBuffer.isNotEmpty())
return;