summaryrefslogtreecommitdiff
path: root/src/context/context.h
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2010-06-02 23:18:54 +0000
committerMorgan Deters <mdeters@gmail.com>2010-06-02 23:18:54 +0000
commit3e1ab30ae6f4504b2a94224d5f0dfcfdf32aed6e (patch)
tree9d0cc1c59c5bbe9b806e6fd79d7680f1431a382a /src/context/context.h
parent1163c334806c30ea54edadf0042690eeff8b278a (diff)
added a handful of debugTagIsOn("context") checks to resolve bug 143
Diffstat (limited to 'src/context/context.h')
-rw-r--r--src/context/context.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/context/context.h b/src/context/context.h
index ff650ce5d..caa5fa57b 100644
--- a/src/context/context.h
+++ b/src/context/context.h
@@ -505,7 +505,9 @@ public:
* ContextMemoryManager as an argument.
*/
void deleteSelf() {
- Debug("context") << "deleteSelf(" << this << ")" << std::endl;
+ if(debugTagIsOn("context")) {
+ Debug("context") << "deleteSelf(" << this << ")" << std::endl;
+ }
this->~ContextObj();
::operator delete(this);
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback