LogScreen: add null check
This commit is contained in:
parent
64cc07bef9
commit
6f78718c12
@ -56,7 +56,7 @@ fun LogScreen() {
|
||||
val inputStream = process.inputStream.bufferedReader()
|
||||
while (isActive) {
|
||||
val line = try {
|
||||
val line = inputStream.readLine()
|
||||
val line = inputStream.readLine() ?: continue
|
||||
val matcher = pattern.matcher(line)
|
||||
if (matcher.matches()) {
|
||||
FormattedLogcatLine(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user