Delete garbage directory async

This commit is contained in:
zodern
2018-12-31 21:27:20 -06:00
parent 57a55ac0d6
commit c2ef3776a8

View File

@@ -1054,7 +1054,7 @@ files.renameDirAlmostAtomically =
// ... and take out the trash.
if (cleanupGarbage) {
// We don't care about how long this takes, so we'll let it go async.
files.rm_recursive(garbageDir);
files.rm_recursive_async(garbageDir);
}
});