Skip to content

Commit 548b923

Browse files
committed
fix: missing await added
1 parent b6480ee commit 548b923

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Samples~/DallE/DallE.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ private async void SendImageRequest()
3636
request.downloadHandler = new DownloadHandlerBuffer();
3737
request.SendWebRequest();
3838

39-
while (!request.isDone) Task.Yield();
39+
while (!request.isDone) await Task.Yield();
4040

4141
Texture2D texture = new Texture2D(2, 2);
4242
texture.LoadImage(request.downloadHandler.data);

0 commit comments

Comments
 (0)