diff options
| author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2013-08-19 14:49:11 -0400 | 
|---|---|---|
| committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2013-08-19 14:49:11 -0400 | 
| commit | 0094c4299f6fb627c0a759374ede39450efdc8d0 (patch) | |
| tree | fb6415383ecd7142e8ad2d051efb002a23d5ec7a | |
| parent | cc999b225ecfe035f785f3d2629cbf64e7640e3a (diff) | |
moved LLTrackPhaseWrapper to do its work in destructor
| -rwxr-xr-x | indra/newview/llappearancemgr.cpp | 7 | 
1 files changed, 6 insertions, 1 deletions
| diff --git a/indra/newview/llappearancemgr.cpp b/indra/newview/llappearancemgr.cpp index 939d817201..2e7ec0b2d5 100755 --- a/indra/newview/llappearancemgr.cpp +++ b/indra/newview/llappearancemgr.cpp @@ -467,13 +467,18 @@ public:  	// virtual  	void fire(const LLUUID& id)  	{ -		selfStopPhase(mTrackingPhase);  		if (mCB)  		{  			mCB->fire(id);  		}  	} +	// virtual +	~LLTrackPhaseWrapper() +	{ +		selfStopPhase(mTrackingPhase); +	} +  protected:  	std::string mTrackingPhase;  	LLPointer<LLInventoryCallback> mCB; | 
