From b033b18996d9e36ba9bf9686e793c1b2ef81fc6b Mon Sep 17 00:00:00 2001 From: FongMi Date: Sun, 1 Jan 2023 15:28:30 +0800 Subject: [PATCH] Update TVCore.java --- tvbus/src/main/java/com/tvbus/engine/TVCore.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tvbus/src/main/java/com/tvbus/engine/TVCore.java b/tvbus/src/main/java/com/tvbus/engine/TVCore.java index 0e20f002d..cc5feeb35 100644 --- a/tvbus/src/main/java/com/tvbus/engine/TVCore.java +++ b/tvbus/src/main/java/com/tvbus/engine/TVCore.java @@ -103,11 +103,10 @@ public class TVCore { } void init(Context context) { - try { + new Thread(() -> { init(nativeHandle, context); run(nativeHandle); - } catch (Throwable ignored) { - } + }).start(); } void quit() {