Small improvement

This commit is contained in:
M66B 2020-03-17 12:09:48 +01:00
parent 786fde2ca4
commit f879b3f5a6
1 changed files with 1 additions and 0 deletions

View File

@ -409,6 +409,7 @@ class Core {
if (op.tries >= TOTAL_RETRY_MAX) { if (op.tries >= TOTAL_RETRY_MAX) {
// Giving up // Giving up
op.cleanup(context);
db.operation().deleteOperation(op.id); db.operation().deleteOperation(op.id);
ops.remove(op); ops.remove(op);
continue; continue;