mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
Merge pull request #4883
40485a73
mlocker: fix access to global lock map after dtor on exit (moneromooo-monero)
This commit is contained in:
commit
16dc6900fb
@ -98,8 +98,8 @@ namespace epee
|
|||||||
}
|
}
|
||||||
std::map<size_t, unsigned int> &mlocker::map()
|
std::map<size_t, unsigned int> &mlocker::map()
|
||||||
{
|
{
|
||||||
static std::map<size_t, unsigned int> vmap;
|
static std::map<size_t, unsigned int> *vmap = new std::map<size_t, unsigned int>();
|
||||||
return vmap;
|
return *vmap;
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t mlocker::get_page_size()
|
size_t mlocker::get_page_size()
|
||||||
|
Loading…
Reference in New Issue
Block a user