wallet: Make PeriodicFlush uninterruptible

This commit is contained in:
MarcoFalke 2020-05-26 20:06:07 -04:00
parent dcacea096e
commit 5555d978b0
No known key found for this signature in database
GPG key ID: CE2B75697E69A548

View file

@ -14,8 +14,6 @@
#include <sys/stat.h>
#endif
#include <boost/thread.hpp>
namespace {
//! Make sure database has a unique fileid within the environment. If it
@ -824,7 +822,6 @@ bool BerkeleyBatch::PeriodicFlush(BerkeleyDatabase& database)
if (nRefCount == 0)
{
boost::this_thread::interruption_point();
std::map<std::string, int>::iterator mi = env->mapFileUseCount.find(strFile);
if (mi != env->mapFileUseCount.end())
{