When using the allow leaks hack don't even print a warning about the leak
This is only used for the test runner and in that case it just makes the test output confusing
This commit is contained in:
parent
4ef1ec580a
commit
0fcd72c932
1 changed files with 0 additions and 3 deletions
|
@ -139,9 +139,6 @@ memory_region::~memory_region() {
|
|||
if (!_hack_allow_leaks) {
|
||||
_srv->fatal(msg, __FILE__, __LINE__,
|
||||
"%d objects", _live_allocations);
|
||||
} else {
|
||||
_srv->warning(msg, __FILE__, __LINE__,
|
||||
"%d objects", _live_allocations);
|
||||
}
|
||||
if (_synchronized) { _lock.unlock(); }
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue