提交 d03d3594 编写于 作者: C CyrusNajmabadi 提交者: GitHub

Merge pull request #19214 from CyrusNajmabadi/flushAllTask

Actually keep track of the task we've kicked off to flush all writes to disk.
......@@ -37,7 +37,7 @@ internal partial class SQLitePersistentStorage
if (_flushAllTask == null)
{
var token = _shutdownTokenSource.Token;
var delay =
_flushAllTask =
Task.Delay(FlushAllDelayMS, token)
.ContinueWith(
async _ => await FlushAllPendingWritesAsync(token).ConfigureAwait(false),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册