mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 00:35:38 +08:00
fix: resolve intermittent startup deadlock issues
- Optimize configuration access locks to prevent race conditions - Enhance UI monitoring thread with non-blocking lock operations - Improve window creation timing and synchronization - Add comprehensive deadlock detection and debugging logs - Simplify code structure with better error handling patterns - Update changelog with user-friendly descriptions
This commit is contained in:
@@ -216,7 +216,7 @@ pub async fn import_profile(url: String, option: Option<PrfOption>) -> CmdResult
|
||||
}
|
||||
Ok(Err(e)) => {
|
||||
logging!(error, Type::Cmd, true, "[导入订阅] 导入失败: {}", e);
|
||||
Err(format!("导入订阅失败: {}", e).into())
|
||||
Err(format!("导入订阅失败: {e}"))
|
||||
}
|
||||
Err(_) => {
|
||||
logging!(error, Type::Cmd, true, "[导入订阅] 导入超时(60秒): {}", url);
|
||||
|
||||
Reference in New Issue
Block a user