1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 08:55:35 +08:00

onComplete should private

This commit is contained in:
cdwcgt 2022-12-11 16:53:11 +09:00
parent 951302fe61
commit fa30f3348f
No known key found for this signature in database
GPG Key ID: 144396D01095C3A2

View File

@ -92,7 +92,7 @@ namespace osu.Game.Database
TModel refetchModel = r.Find<TModel>(id);
ExportToStream(refetchModel, stream);
});
}).ContinueWith(OnComplete);
}).ContinueWith(onComplete);
}
protected virtual void ExportToStream(TModel model, Stream outputStream) => createZipArchive(model, outputStream);
@ -119,7 +119,7 @@ namespace osu.Game.Database
}
}
protected void OnComplete(Task t)
private void onComplete(Task t)
{
if (t.IsFaulted)
{