diff options
Diffstat (limited to 'src/mongo/scripting/engine_v8.h')
-rw-r--r-- | src/mongo/scripting/engine_v8.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/scripting/engine_v8.h b/src/mongo/scripting/engine_v8.h index 7a005e7f05f..5b22c64df38 100644 --- a/src/mongo/scripting/engine_v8.h +++ b/src/mongo/scripting/engine_v8.h @@ -73,9 +73,10 @@ namespace mongo { * V8Scope is destructed. */ ~ObjTracker() { - if (!_container.empty()) + if (!_container.empty()) { LOG(1) << "freeing " << _container.size() << " uncollected " << typeid(_ObjType).name() << " objects" << endl; + } typename set<TrackedPtr*>::iterator it = _container.begin(); while (it != _container.end()) { delete *it; |