-
Notifications
You must be signed in to change notification settings - Fork 981
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix App getting stucked on logout #13427
Conversation
Jenkins BuildsClick to see older builds (13)
|
91d5477
to
a1ba5d9
Compare
90% of end-end tests have passed
Failed tests (8)Click to expand
Passed tests (76)Click to expand
|
@Parveshdhull unfortunately, the issue is still reproducible with the scenario for PR builds:
video_2022-05-31_15-01-12.mp4Also, I can reproduce this on iOS as well (updated the issue) |
Hi @qoqobolo, Thanks for testing the PR and finding the issue. I will see why it is still occurring. |
62% of end-end tests have passed
Failed tests (3)Click to expand
Passed tests (5)Click to expand
|
a1ba5d9
to
82117fa
Compare
@qoqobolo, issue should be fixed now. |
<color name="alert_background">#141414</color> | ||
<color name="alert_text">#ffffff</color> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix indents: pending chore from #13273
|
||
Runnable r = new Runnable() { | ||
@Override | ||
public void run() { | ||
String result = Statusgo.logout(); | ||
if (result.startsWith("{\"error\":\"\"")) { | ||
Log.d(TAG, "Logout result: " + result); | ||
} else { | ||
Log.e(TAG, "Logout failed: " + result); | ||
} | ||
} | ||
}; | ||
|
||
StatusThreadPoolExecutor.getInstance().execute(r); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even when the issue is fixed, Statusgo.logout
sometime takes 2-3 seconds to return the result. So it's better to use StatusThreadPoolExecutor
so that UI don't look frozen. (now will show the progress bar instead)
96% of end-end tests have passed
Failed tests (3)Click to expand
Passed tests (81)Click to expand
|
@Parveshdhull thank you, logout and stickers are working fine now. |
2978ff8
to
0a2cd3c
Compare
0a2cd3c
to
9d8f218
Compare
fixes #13421
status-go PR
status-im/status-go#2699
status: ready