-
Notifications
You must be signed in to change notification settings - Fork 51
ChatClient shutdown() method crash #28
Comments
|
And this is on Andoid 8.0 right? |
|
Google Pixel, Android 8.1.0 |
|
Interesting, I wonder why i cannot reproduce this. Could you share the code with me privately for debug purposes? |
|
Sure, how can I do this? |
|
Do you have Telegram? Skype also works. Ping @berkus there. |
|
@berkus skype - icaesy |
|
Pinged you on skype. |
|
Hi @berkus, I'm experiencing a crash on More specifically, I've experiences this crash on:
The log generated is similar to OP's as well: I have gathered a log per your instructions here and will be happy to email them to you. |
|
@kurtacious thanks! Could you please open a zendesk ticket with support.twilio.com and post it's id here? |
|
@berkus I opened a ticket shortly after commenting here, but did not receive a ticket id. Just a confirmation banner saying "Your request was successfully submitted." However, I did hear back from support and they're escalating the issue (to you, I'm guessing 😄). |
|
Thanks, I will ping them tomorrow about it then. |
|
@kurtacious Thanks, I've received the logs. Just to confirm: are you calling shutdown while ChatClient is still receiving some channel messages? |
|
@berkus Can you clarify what you mean by receiving some channel messages? I'm calling |
|
What i'm seeing in the logs is that chatclient just started booting up and it's immediately shut down - this causes some outstanding requests to fire into the void, causing a crash. This is something that we do not plan to fix in the current iteration of SDKs, there's an update pending merge that should make things better as it uses a different async architecture internally. This means, we'd need to find a way to work around the issue on your side, for example by delaying chatclient shutdown until it is fully synced. To make sure this is doable we'd need to figure out use case for this instance. Lets skype about it, add skype:berkus. |
|
With @kurtacious 's help I've reproduced one of the crashes. |
|
Release 3.1.1 should fix the related crashes (and some more). Thank you all! |
After calling ChatClient.shutdown(); in onDestroy() method of my activity i see this crash in logs:
The text was updated successfully, but these errors were encountered: