Browse Source

Revert "Fix inappropriate UnRefing in VaultCreateNodeTrans"

This reverts commit 8f8bad63f0. It didn't do
what it claimed to.
Adam Johnson 11 years ago
parent
commit
f187d98a76
  1. 10
      Sources/Plasma/PubUtilLib/plNetGameLib/Private/plNglAuth.cpp

10
Sources/Plasma/PubUtilLib/plNetGameLib/Private/plNglAuth.cpp

@ -785,7 +785,6 @@ struct VaultCreateNodeTrans : NetAuthTrans {
FNetCliAuthVaultNodeCreated callback, FNetCliAuthVaultNodeCreated callback,
void * param void * param
); );
~VaultCreateNodeTrans();
bool Send (); bool Send ();
void Post (); void Post ();
@ -4057,13 +4056,7 @@ VaultCreateNodeTrans::VaultCreateNodeTrans (
, m_param(param) , m_param(param)
, m_nodeId(0) , m_nodeId(0)
{ {
m_templateNode->Ref("VaultCreateNodeTrans"); m_templateNode->Ref();
}
//============================================================================
VaultCreateNodeTrans::~VaultCreateNodeTrans()
{
m_templateNode->UnRef("VaultCreateNodeTrans");
} }
//============================================================================ //============================================================================
@ -4093,6 +4086,7 @@ void VaultCreateNodeTrans::Post () {
m_param, m_param,
m_nodeId m_nodeId
); );
m_templateNode->UnRef();
} }
//============================================================================ //============================================================================

Loading…
Cancel
Save