mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-16 08:27:44 +01:00
GetFrameCountCached: If failed, clear cache before retrying
This commit is contained in:
@@ -45,6 +45,7 @@ namespace Flowframes.Media
|
||||
if (retryCount > 0)
|
||||
{
|
||||
Logger.Log($"Got {frameCount} frames, retrying ({retryCount} left)", true);
|
||||
Clear();
|
||||
frameCount = await GetFrameCountAsync(path, retryCount - 1);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user