Skip to content
This repository was archived by the owner on Feb 20, 2022. It is now read-only.

Conversation

@majumdarsr
Copy link

`public IEnumerator Logout() {
MethodCall logoutCall = connection.Call("logout");

                    error = logoutCall.error;

                    // if error, throw error to let user retry logout. -Sriparna
                    if (error != null){
                            throw new InvalidOperationException("Logout Error! Try Again!");
                    }
                     
                     // If no error, remove token and wait for result to print. -Sriparna
                     HandleLogoutResult(logoutCall);
                     yield return logoutCall.WaitForResult();
                    // HandleLogoutResult(logoutCall);

                    // In case token is not reset -Sriparna
                    if (this.token != null) {
                            debug.log("Token remained!");
                    }
            }`

@green-coder
Copy link
Owner

green-coder commented Feb 20, 2022

Hello. Unfortunately I don't have enough time to maintain this library and won't accept pull requests anymore.

I suggest to continue its development in a fork.

Best Regards, Vincent.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants