mirror of https://github.com/ppy/osu
Fix optimised import path buffering events without flush
This commit is contained in:
parent
0be75cc4ed
commit
8a23dfa6f5
|
@ -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...");
|
||||
|
|
Loading…
Reference in New Issue