diff options
Diffstat (limited to 'okhttp-handler/src/main/scala')
-rw-r--r-- | okhttp-handler/src/main/scala/com/softwaremill/sttp/okhttp/OkHttpClientHandler.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/okhttp-handler/src/main/scala/com/softwaremill/sttp/okhttp/OkHttpClientHandler.scala b/okhttp-handler/src/main/scala/com/softwaremill/sttp/okhttp/OkHttpClientHandler.scala index 327a752..ab2b844 100644 --- a/okhttp-handler/src/main/scala/com/softwaremill/sttp/okhttp/OkHttpClientHandler.scala +++ b/okhttp-handler/src/main/scala/com/softwaremill/sttp/okhttp/OkHttpClientHandler.scala @@ -135,7 +135,7 @@ abstract class OkHttpHandler[R[_], S](client: OkHttpClient) def responseBodyToStream(res: OkHttpResponse): Try[S] = Failure(new IllegalStateException("Streaming isn't supported")) - override def close(): Unit = {} + override def close(): Unit = client.dispatcher().executorService().shutdown() } object OkHttpHandler { |