mirror of
https://github.com/abraunegg/onedrive
synced 2024-06-04 15:02:25 +02:00
run garbage collection after the synchronization
This commit is contained in:
parent
74fadfb262
commit
a877bad3ad
|
@ -109,8 +109,11 @@ void main(string[] args)
|
||||||
sync.applyDifferences();
|
sync.applyDifferences();
|
||||||
sync.scanForDifferences(".");
|
sync.scanForDifferences(".");
|
||||||
m.init(cfg, verbose);
|
m.init(cfg, verbose);
|
||||||
|
import core.memory;
|
||||||
|
GC.collect();
|
||||||
|
} else {
|
||||||
|
Thread.sleep(dur!"msecs"(100));
|
||||||
}
|
}
|
||||||
Thread.sleep(dur!"msecs"(100));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue