This commit is contained in:
TenderIronh
2026-05-15 17:53:49 +08:00
parent 12393f00c5
commit 07836fc162
7 changed files with 51 additions and 12 deletions
+6 -2
View File
@@ -153,7 +153,9 @@ func (pn *P2PNetwork) keepAlive() {
}
gLog.e("P2PNetwork keepAlive error, exit worker")
dumpStack()
os.Exit(9)
if !isAndroid() {
os.Exit(9)
}
}
}
}
@@ -811,7 +813,9 @@ func (pn *P2PNetwork) init() error {
head, _ := pn.read("", MsgReport, MsgReportBasicRsp, ClientAPITimeout)
if head == nil {
gLog.e("read MsgReportBasic rsp error again, exit")
os.Exit(9)
if !isAndroid() {
os.Exit(9)
}
}
return
}