Created
January 6, 2013 00:34
-
-
Save j0sh/4464506 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/sources/thelib/src/protocols/baseprotocol.cpp b/sources/thelib/src/protocols/baseprotocol.cpp | |
| index b8abc91..4587491 100644 | |
| --- a/sources/thelib/src/protocols/baseprotocol.cpp | |
| +++ b/sources/thelib/src/protocols/baseprotocol.cpp | |
| @@ -60,6 +60,8 @@ BaseProtocol::~BaseProtocol() { | |
| _deleteFar, | |
| _deleteNear); | |
| #endif | |
| + ProtocolManager::UnRegisterProtocol(this); | |
| + | |
| BaseProtocol *pFar = _pFarProtocol; | |
| BaseProtocol *pNear = _pNearProtocol; | |
| @@ -87,7 +89,6 @@ BaseProtocol::~BaseProtocol() { | |
| _deleteFar, | |
| _deleteNear); | |
| #endif | |
| - ProtocolManager::UnRegisterProtocol(this); | |
| } | |
| uint64_t BaseProtocol::GetType() { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment