mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-07 22:40:44 +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)
|
||||
{
|
||||
evt->process(this);
|
||||
if (evt->getRefCount() == 0)
|
||||
evt->incRef();
|
||||
evt->decRef();
|
||||
if(mErrorBuffer.isNotEmpty())
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue