mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-07 12:20:03 +03:00
fix a potential crash
This commit is contained in:
@@ -844,7 +844,7 @@ async fn check_software_update_() -> hbb_common::ResultType<()> {
|
||||
.path()
|
||||
.rsplit('/')
|
||||
.next()
|
||||
.unwrap();
|
||||
.unwrap_or_default();
|
||||
|
||||
let response_url = latest_release_response.url().to_string();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user