From 222b1401f5406ef23e74d5c790447c9f64c09127 Mon Sep 17 00:00:00 2001 From: Chelal <31129985+xfvvvv@users.noreply.github.com> Date: Sat, 29 Jun 2024 21:51:27 +0800 Subject: [PATCH] Fix onTextSelection and onEndTextSelection stack overflow issue --- .../Plugins/UniTask/Runtime/UnityAsyncExtensions.uGUI.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/UniTask/Assets/Plugins/UniTask/Runtime/UnityAsyncExtensions.uGUI.cs b/src/UniTask/Assets/Plugins/UniTask/Runtime/UnityAsyncExtensions.uGUI.cs index 7f1a90c..e1b11fe 100644 --- a/src/UniTask/Assets/Plugins/UniTask/Runtime/UnityAsyncExtensions.uGUI.cs +++ b/src/UniTask/Assets/Plugins/UniTask/Runtime/UnityAsyncExtensions.uGUI.cs @@ -339,7 +339,7 @@ namespace Cysharp.Threading.Tasks void InvokeCore(string item1, int item2, int item3) { - innerEvent.Invoke(item1, item2, item3); + Invoke((item1, item2, item3)); } public void Dispose() @@ -855,4 +855,4 @@ namespace Cysharp.Threading.Tasks } } -#endif \ No newline at end of file +#endif