Skip to content

Commit 439c72f

Browse files
committed
fix: Remove bora login event handler on disable
1 parent 8b3d679 commit 439c72f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

haechi.face.unity.sdk/Samples/Script/UI/Sections/UISectionBoraPortal.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ private void OnDisable()
4949
this._onLoginSuccessEvent.OnEventRaised -= this.Initialize;
5050
this._onLogoutSuccessEvent.OnEventRaised -= this.Initialize;
5151
this._onNetworkSwitched.OnEventRaised -= this.Initialize;
52+
this._boraLoginButton.OnClickEvent -= this.LoginBora;
53+
this._boraDirecSocialLoginButton.OnClickEvent -= this.LoginDirectSocialBora;
54+
this._boraLoginWithIdtokenButton.OnClickEvent -= this.LoginWithIdTokenBora;
5255
}
5356

5457
private void Initialize(LoginData loginData)

0 commit comments

Comments
 (0)