mlocker: fix dtor ordering problem

leak the mutex instead, it's a one off
release-v0.5.1
moneromooo-monero 6 years ago committed by wowario
parent 93c2e6f521
commit b91d510669
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111

@ -83,8 +83,8 @@ namespace epee
boost::mutex &mlocker::mutex()
{
static boost::mutex vmutex;
return vmutex;
static boost::mutex *vmutex = new boost::mutex();
return *vmutex;
}
std::map<size_t, unsigned int> &mlocker::map()
{

Loading…
Cancel
Save