AntennaPod/app
Anderson Mesquita 34d33f796e Close OkHttp request before making new ones
When adding certain podcasts [1], a `LeakedClosableViolation` is thrown
due to the fact that we're reusing the OkHttpClient to make multiple
requests (one to get the iTunes toplist for the user's language, and
another one defaulting to US).

This makes sure that all requests are closed to prevent this exception,
according to OkHttp docs [2].

[1]: https://podcasts.apple.com/us/podcast/stupid-genius-with-emma-chamberlain/id1458568923
[2]: https://github.com/square/okhttp/blob/18f2b5e/okhttp/src/main/java/okhttp3/Call.kt#L32-L40
2019-04-28 09:10:02 -04:00
..
sampledata Render preview for all episodes layout with sample data. 2018-06-27 00:28:46 +02:00
src Close OkHttp request before making new ones 2019-04-28 09:10:02 -04:00
build.gradle Bumped version to RC3 2019-04-28 14:39:01 +02:00
lint.xml
proguard.cfg Fix release build 2019-01-06 00:27:19 +01:00