@@ -213,6 +213,8 @@ class XRayService : VpnService() {
VLog.i(TAG, "XRay proxy started successfully")
} ?: run {
VLog.e(TAG, "Failed to establish VPN tunnel")
+ dealStopMsg()
+ stopSelf()
}
} catch (e: Exception) {
VLog.e(TAG, "启动 XRay 失败", e)