mirror of https://github.com/oxen-io/lokinet
Merge pull request #1727 from majestrate/android-hang-fix-2021-09-01
dont save addrmap on android as it hangs
This commit is contained in:
commit
060c571060
|
@ -974,6 +974,7 @@ namespace llarp
|
|||
TunEndpoint::Stop()
|
||||
{
|
||||
// save address map if applicable
|
||||
#ifndef ANDROID
|
||||
if (m_PersistAddrMapFile)
|
||||
{
|
||||
const auto& file = *m_PersistAddrMapFile;
|
||||
|
@ -994,6 +995,7 @@ namespace llarp
|
|||
maybe->write(data.data(), data.size());
|
||||
}
|
||||
}
|
||||
#endif
|
||||
if (m_Resolver)
|
||||
m_Resolver->Stop();
|
||||
return llarp::service::Endpoint::Stop();
|
||||
|
|
Loading…
Reference in New Issue