fix dirty hack from reini

This commit is contained in:
EugeneTes
2026-02-18 13:18:05 +01:00
parent 59d24cff25
commit 59d7bd750a

View File

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