[6.1.0][应用升级] 将升级成功后的记录移除,防止重复上报

This commit is contained in:
renwj
2023-09-19 20:03:12 +08:00
parent 6895b542ba
commit 28711b4a63

View File

@@ -253,6 +253,11 @@ class MoGoUpgradeProviderImpl: IMoGoUpgradeProvider {
} catch (t: Throwable) {
t.printStackTrace()
}
try {
UpgradeDbHelper.deleteRecord(success.versionName)
} catch (t:Throwable) {
t.printStackTrace()
}
return@also
}
}