mirror of
https://github.com/Dummi26/musicdb.git
synced 2026-01-01 11:16:19 +01:00
fix get-song returning "no data" instead of loading the song
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user