diff options
author | adamw <adam@warski.org> | 2017-07-24 17:46:34 +0200 |
---|---|---|
committer | adamw <adam@warski.org> | 2017-07-24 17:46:34 +0200 |
commit | 8e2e4d0e93c33b61ec7aae3edb992400f77d51a3 (patch) | |
tree | 269aad3e397145b39956038229dc5ee28e3547a9 /akka-http-handler/src/main | |
parent | 0299feaebb4b72bbcfc62af23ced1f297cf26294 (diff) | |
download | sttp-8e2e4d0e93c33b61ec7aae3edb992400f77d51a3.tar.gz sttp-8e2e4d0e93c33b61ec7aae3edb992400f77d51a3.tar.bz2 sttp-8e2e4d0e93c33b61ec7aae3edb992400f77d51a3.zip |
Splitting the model package into files, adding Xlint to compiler options
Diffstat (limited to 'akka-http-handler/src/main')
-rw-r--r-- | akka-http-handler/src/main/scala/com/softwaremill/sttp/akkahttp/AkkaHttpSttpHandler.scala | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/akka-http-handler/src/main/scala/com/softwaremill/sttp/akkahttp/AkkaHttpSttpHandler.scala b/akka-http-handler/src/main/scala/com/softwaremill/sttp/akkahttp/AkkaHttpSttpHandler.scala index f0262fc..e4b2bf6 100644 --- a/akka-http-handler/src/main/scala/com/softwaremill/sttp/akkahttp/AkkaHttpSttpHandler.scala +++ b/akka-http-handler/src/main/scala/com/softwaremill/sttp/akkahttp/AkkaHttpSttpHandler.scala @@ -2,7 +2,7 @@ package com.softwaremill.sttp.akkahttp import java.io.UnsupportedEncodingException -import akka.actor.{ActorSystem, Terminated} +import akka.actor.ActorSystem import akka.http.scaladsl.Http import akka.http.scaladsl.coding.{Deflate, Gzip, NoCoding} import akka.http.scaladsl.model.HttpHeader.ParsingResult @@ -174,7 +174,6 @@ class AkkaHttpSttpHandler private (actorSystem: ActorSystem, } override def close(): Unit = { - implicit val ec = this.ec if (terminateActorSystemOnClose) actorSystem.terminate() } |