Suppress hint

This commit is contained in:
Soreepeong 2024-02-22 16:08:00 +09:00
parent ea633cd876
commit 517abb0c71

View file

@ -283,6 +283,8 @@ internal abstract class SharableTexture : IRefCountable, TextureLoadThrottler.IT
return this.availableOnAccessWrapForApi9;
var newRefTask = this.CreateNewReference(default);
// Cancellation is not expected for this API
// ReSharper disable once MethodSupportsCancellation
newRefTask.Wait();
if (!newRefTask.IsCompletedSuccessfully)
return null;