E4: la ricerca dei video fermi riprova chi era troppo lento e non trattiene la chiusura
«Avviala dalla selezione» mandava a una selezione che saltava il video; un file in due account si cercava solo nel primo; un avvio di video già in coda sembrava una ricerca nuova; una lettura ferma bloccava la chiusura di Febe. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
9277e0a18c
commit
6dcaf30db6
10 files changed
+293
-30
No files matched your search
@@ -52,7 +52,8 @@ internal sealed class DesktopTestBed : IAsyncDisposable
|
||||
/// <param name="temp">The folder of «AppData» and «Immagini»; null: a new one, deleted with the bed.</param>
|
||||
/// <param name="locations">The registry values of the Data folder.</param>
|
||||
/// <param name="adjust">Options the command line cannot give (the debugging port of Edge).</param>
|
||||
public static async Task<DesktopTestBed> StartAsync(string[]? args = null, FakeDesktopShell? shell = null, TempFolder? temp = null, MemoryLocationStore? locations = null, Func<DesktopOptions, DesktopOptions>? adjust = null)
|
||||
/// <param name="hooks">The fakes of the composition.</param>
|
||||
public static async Task<DesktopTestBed> StartAsync(string[]? args = null, FakeDesktopShell? shell = null, TempFolder? temp = null, MemoryLocationStore? locations = null, Func<DesktopOptions, DesktopOptions>? adjust = null, FebeAppHooks? hooks = null)
|
||||
{
|
||||
var ownsTemp = temp is null;
|
||||
temp ??= new TempFolder("desktop");
|
||||
@@ -67,7 +68,7 @@ internal sealed class DesktopTestBed : IAsyncDisposable
|
||||
|
||||
var folders = new DesktopFolders(temp.Combine("AppData", "Local"), temp.Combine("Immagini"));
|
||||
var platform = new DesktopPlatform(options, shell, locations, dataFolderFixed: options.DataFolder is not null);
|
||||
var app = await FebeApp.StartAsync(options.AppOptions(options.DataFolder ?? folders.DefaultDataFolder, folders), platform, new FebeAppHooks { ShutdownTimeout = TimeSpan.FromSeconds(1) });
|
||||
var app = await FebeApp.StartAsync(options.AppOptions(options.DataFolder ?? folders.DefaultDataFolder, folders), platform, (hooks ?? new FebeAppHooks()) with { ShutdownTimeout = TimeSpan.FromSeconds(1) });
|
||||
return new DesktopTestBed(temp, ownsTemp, shell, locations, platform, app);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user