Skip to content

Commit a7e165d

Browse files
author
Ali Abdul-Karim
committed
Added comment to the right yield :)
1 parent a7f0614 commit a7e165d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

release/NativeEditPlugin/scripts/NativeEditBox.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,6 @@ private void OnApplicationFocus(bool hasFocus)
185185

186186
private IEnumerator InitialzieOnNextFrame()
187187
{
188-
// this is to avoid a deadlock for more info when trying to get data from two separate native plugins and handling them in Unity
189188
yield return null;
190189

191190
this.PrepareNativeEdit();
@@ -259,6 +258,7 @@ public override void OnPluginMsgDirect(JsonObject jsonMsg)
259258

260259
private IEnumerator PluginsMessageRoutine(JsonObject jsonMsg)
261260
{
261+
// this is to avoid a deadlock for more info when trying to get data from two separate native plugins and handling them in Unity
262262
yield return null;
263263

264264
string msg = jsonMsg.GetString("msg");

0 commit comments

Comments
 (0)