diff options
author | Richard Linden <none@none> | 2010-04-01 15:51:24 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2010-04-01 15:51:24 -0700 |
commit | f252d0d1a0ea9966fa5225e4c6dd64774c2c5444 (patch) | |
tree | d15bc414e922d2c01bef184590ed289661217103 /indra/llui/lleditmenuhandler.cpp | |
parent | 51e1c6b78a36cb968b9b3ea3d37a14dbe2609e8a (diff) | |
parent | dcc5e0a4faaf7d877a736ade4a334d1936e71bef (diff) |
merge
Diffstat (limited to 'indra/llui/lleditmenuhandler.cpp')
-rw-r--r-- | indra/llui/lleditmenuhandler.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/llui/lleditmenuhandler.cpp b/indra/llui/lleditmenuhandler.cpp index 821afae8fd..9d8af39a7a 100644 --- a/indra/llui/lleditmenuhandler.cpp +++ b/indra/llui/lleditmenuhandler.cpp @@ -37,3 +37,10 @@ /* static */ LLEditMenuHandler* LLEditMenuHandler::gEditMenuHandler = NULL; +LLEditMenuHandler::~LLEditMenuHandler() +{ + if (gEditMenuHandler == this) + { + gEditMenuHandler = NULL; + } +}
\ No newline at end of file |