This commit is contained in:
team3
2026-09-19 21:12:39 +02:00
parent 4548178a7c
commit a6cc15984f
3 changed files with 37 additions and 6 deletions

View File

@@ -44,6 +44,8 @@ export class Sync {
GLib.source_remove(this._timerId);
this._timerId = null;
}
// Laufende Anfrage abbrechen, ohne das als Verbindungsfehler zu melden
this._stopped = true;
this._session.abort();
}
@@ -140,6 +142,8 @@ export class Sync {
}
_fail(message) {
if (this._stopped)
return;
if (!this._failing)
console.log(`desktop-app sync: ${message}`);
this._failing = true;