-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
OkHttp (used by UrlConnection) might start a new Thread when reading response #313
Comments
Boiled up out of #307 |
OK, reported to OKHttp square/okhttp#1907 but they don't seem inclined to do anything about it. So options are
Shortest path is option (2). |
We run into this issue previously when ACRA itself was creating threads. I think we just change that so that reports are never sent at shutdown now. |
Any update on this? At the present moment it appears ACRA 4.7 is broken when targeting API 23 (Marshmallow). |
I'm totally snowed under at the moment, so I won't have a chance to get to it for a week or two at least. |
One simple solution (though perhaps not the best) could be to revert 348b277 and use the updated Apache client instead, as I recently did in AnkiDroid and wrote about on stackoverflow . ACRA 1.7 is broken now, so it would be good to get a quick fix out or at least remove the broken builds |
@timrae I'm not so sure that's a great idea. One could simply put @william-ferguson-au perhaps we could fix 4.7 with the shortcut number 2 option, and go with number 1 for 4.8. |
@mkonecny I'm proposing that option (2) becomes the standard path going forward. But I don't have any time at all fotr this right now. If you want to follow the threads and provide a PR, I'll try to find time to review and mege. |
OK, I've spent the last couple of hours on this and I can't replicate it. I'll leave this open for a day or two for people to provide input on a reliable scenario to reproduce the failure for OKHttp to send on device shutdown. If I get no response then I will close this issue and cut 4.7.0-RC.2 |
Closing this as as promised I have released 1.7.0-RC2. |
NB this is being worked in #329 |
The text was updated successfully, but these errors were encountered: