Fix optimised import path buffering events without flush

This commit is contained in:
Bartłomiej Dach 2021-07-03 17:58:12 +02:00
parent 0be75cc4ed
commit 8a23dfa6f5
1 changed files with 2 additions and 2 deletions

View File

@ -353,8 +353,6 @@ public virtual async Task<TModel> Import(TModel item, ArchiveReader archive = nu
{
cancellationToken.ThrowIfCancellationRequested();
delayEvents();
bool checkedExisting = false;
TModel existing = null;
@ -394,6 +392,8 @@ void rollback()
}
}
delayEvents();
try
{
LogForModel(item, @"Beginning import...");