Skip to content

Commit

Permalink
合并上游
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowsocksRb committed Apr 20, 2020
2 parents 809a032 + 2f6319d commit 6ab191b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ buildscript {
compileSdkVersion = 29
buildToolsVersion = '29.0.3'
desugarLibsVersion = '1.0.5'
versionCode = 406
versionName = '5.0.5R.1'
versionCode = 407
versionName = '5.0.6R'
resConfigs = ['zh-rCN']
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ class GuardedProcessPool(private val onFatal: suspend (IOException) -> Unit) : C
try {
Os.kill(pid.get(process) as Int, OsConstants.SIGTERM)
} catch (e: ErrnoException) {
if (e.errno != OsConstants.ESRCH) throw e
if (e.errno != OsConstants.ESRCH) Crashlytics.logException(e)
} catch (e: ReflectiveOperationException) {
Crashlytics.logException(e)
}
if (withTimeoutOrNull(500) { exitChannel.receive() } != null) return@withContext
}
Expand Down

0 comments on commit 6ab191b

Please sign in to comment.