This commit is contained in:
EugeneTes
2026-02-02 12:50:00 +01:00
parent 10c0ca20da
commit e90465e286
9 changed files with 109 additions and 33 deletions

View File

@@ -44,6 +44,10 @@ public class PrinterDiscoveryBackgroundTask
// Run immediately on start
await DiscoverAndNotifyAsync();
// Scan once for now, then exit
// By Reini, because we are loosing connection on frequent scans
return;
// Then run periodically
while (!cancellationToken.IsCancellationRequested)
{