Do not use coroutine APIs in the access token interceptor #2733
Labels
[Area] Network
Things related to the web connection or communiaction
[Type] Tech Debt
Involving upgrades or refactoring to maintain or enhance the codebase.
We have this piece of code:
pocket-casts-android/modules/services/servers/src/main/java/au/com/shiftyjelly/pocketcasts/servers/di/ServersModule.kt
Lines 248 to 273 in f354e0b
Using
runBlocking
can lead to problems. While we don't have any issues at the moment it is a potential footgun. See: square/okhttp#7164The text was updated successfully, but these errors were encountered: