Merge "Add name to LogBuffer threads" into tm-dev
This commit is contained in:
@@ -89,7 +89,7 @@ class LogBuffer @JvmOverloads constructor(
|
|||||||
|
|
||||||
init {
|
init {
|
||||||
if (logcatEchoTracker.logInBackgroundThread && echoMessageQueue != null) {
|
if (logcatEchoTracker.logInBackgroundThread && echoMessageQueue != null) {
|
||||||
thread(start = true, priority = Thread.NORM_PRIORITY) {
|
thread(start = true, name = "LogBuffer-$name", priority = Thread.NORM_PRIORITY) {
|
||||||
try {
|
try {
|
||||||
while (true) {
|
while (true) {
|
||||||
echoToDesiredEndpoints(echoMessageQueue.take())
|
echoToDesiredEndpoints(echoMessageQueue.take())
|
||||||
|
|||||||
Reference in New Issue
Block a user