fix get-song returning "no data" instead of loading the song

This commit is contained in:
Mark
2024-03-28 18:55:20 +01:00
parent b70d922fad
commit 8b8f13f98a
2 changed files with 3 additions and 5 deletions

View File

@@ -112,7 +112,7 @@ impl Song {
None
}
}
/// Gets the cached data, if available.
/// Gets or loads the cached data.
/// If a thread is running to load the data, it *is* awaited.
/// This function will block until the data is loaded.
/// If it still returns none, some error must have occured.