mirror of
https://github.com/abraunegg/onedrive
synced 2024-05-15 20:26:53 +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.scanForDifferences(".");
|
||||
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