From adec65ed7e86582d44d36e20983bff5e372007ba Mon Sep 17 00:00:00 2001 From: Anton Vikharev Date: Tue, 18 Apr 2023 12:36:30 +0300 Subject: [PATCH] certain use case inifite event loop fix (#124) --- .../MirageSDK/Plugins/WalletConnectSharp.Unity/WalletConnect.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/MirageSDK/Plugins/WalletConnectSharp.Unity/WalletConnect.cs b/Assets/MirageSDK/Plugins/WalletConnectSharp.Unity/WalletConnect.cs index ca008c7f..7efd656f 100644 --- a/Assets/MirageSDK/Plugins/WalletConnectSharp.Unity/WalletConnect.cs +++ b/Assets/MirageSDK/Plugins/WalletConnectSharp.Unity/WalletConnect.cs @@ -130,8 +130,8 @@ public void Update() if (_previousStatus != newStatus) { var transition = TransitionDataFactory.CreateTransitionObj(_previousStatus, newStatus, _session); + _previousStatus = newStatus; SessionStatusUpdated?.Invoke(transition); - _previousStatus = _session.Status; } } }