run garbage collection after the synchronization

This commit is contained in:
skilion 2015-09-20 14:49:44 +02:00
parent 74fadfb262
commit a877bad3ad

View file

@ -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));
}
}
}