mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 08:34:40 +00:00
Merge branch 'AFXFIX4_RefcountCatch' into Jeff_Faust_Fixes
This commit is contained in:
commit
566a6e9fe6
1 changed files with 2 additions and 0 deletions
|
|
@ -344,6 +344,8 @@ void NetConnection::eventReadPacket(BitStream *bstream)
|
||||||
if(unguaranteedPhase)
|
if(unguaranteedPhase)
|
||||||
{
|
{
|
||||||
evt->process(this);
|
evt->process(this);
|
||||||
|
if (evt->getRefCount() == 0)
|
||||||
|
evt->incRef();
|
||||||
evt->decRef();
|
evt->decRef();
|
||||||
if(mErrorBuffer.isNotEmpty())
|
if(mErrorBuffer.isNotEmpty())
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue