From 3477406f63435313c82921f528094bab047f4264 Mon Sep 17 00:00:00 2001 From: ljlvink Date: Sat, 7 Feb 2026 00:58:59 +0800 Subject: [PATCH] fix: fix ownership issue when loading local_path asynchronously --- phira/src/scene/song.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/phira/src/scene/song.rs b/phira/src/scene/song.rs index 66e843a3..e93e3e88 100644 --- a/phira/src/scene/song.rs +++ b/phira/src/scene/song.rs @@ -845,6 +845,7 @@ impl SongScene { update_fn }); + let local_path = local_path.to_owned(); Ok(Some(Box::pin(async move { let mut info = fs::load_info(fs.as_mut()).await?; info.id = id;