Fixed use-after-free bug when exiting

This commit is contained in:
SChernykh 2021-03-27 21:53:40 +01:00
parent 955cc366d1
commit e0f774d6dd
2 changed files with 10 additions and 6 deletions

View file

@ -61,7 +61,7 @@ private:
uint64_t m_ts = 0;
uintptr_t m_key;
static Storage<DnsUvBackend> m_storage;
static Storage<DnsUvBackend>& getStorage();
};