aboutsummaryrefslogtreecommitdiff
path: root/src/support/pagelocker.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2015-05-15 11:44:58 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2015-05-15 11:44:58 +0200
commit881027a79d25a13875e1ed784c827811e53ba432 (patch)
tree5f91e2ff0e58156706261454a0087f5583d8c47c /src/support/pagelocker.h
parentb4c219b622235e66fecd5dee1883908d5336a6c0 (diff)
downloadbitcoin-881027a79d25a13875e1ed784c827811e53ba432.tar.xz
Remove assertion from ~LockedPageManager
This assertion will occur any time that the client quits without shutting down properly due to an error condition. As the user will report this error instead of the error that was the root cause, it is better to remove it.
Diffstat (limited to 'src/support/pagelocker.h')
-rw-r--r--src/support/pagelocker.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/support/pagelocker.h b/src/support/pagelocker.h
index 3fd793072f..88b95cce73 100644
--- a/src/support/pagelocker.h
+++ b/src/support/pagelocker.h
@@ -37,7 +37,6 @@ public:
~LockedPageManagerBase()
{
- assert(this->GetLockedPageCount() == 0);
}