From 7babe561b054729e13573a15b8a5f91348b98993 Mon Sep 17 00:00:00 2001 From: huyufei Date: Tue, 28 May 2024 10:27:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=90=AF=E5=8A=A8?= =?UTF-8?q?=E6=8A=A5=E9=94=99=E6=AD=BB=E9=94=81=E7=9A=84=20BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: huyufei --- Runtime/GuruCore/Runtime/Reporter/CrashlyticsAgent.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Runtime/GuruCore/Runtime/Reporter/CrashlyticsAgent.cs b/Runtime/GuruCore/Runtime/Reporter/CrashlyticsAgent.cs index db0ceb0..ef0017b 100644 --- a/Runtime/GuruCore/Runtime/Reporter/CrashlyticsAgent.cs +++ b/Runtime/GuruCore/Runtime/Reporter/CrashlyticsAgent.cs @@ -59,6 +59,7 @@ namespace Guru FirebaseUtil.onInitComplete -= OnFirebaseComplete; if (success) { + _isReady = true; Crashlytics.IsCrashlyticsCollectionEnabled = true; if (_expCache != null && _expCache.Count > 0) { @@ -68,8 +69,6 @@ namespace Guru } _expCache.Clear(); } - _isReady = true; - } }