We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 867f2de commit 817bd69Copy full SHA for 817bd69
openai-guice/src/main/scala/io/cequence/openaiscala/service/GuiceContainer.scala
@@ -9,7 +9,6 @@ import scala.concurrent.duration._
9
import scala.concurrent.{Await, Future}
10
11
trait GuiceContainer {
12
-
13
protected def modules: Seq[Module]
14
15
protected lazy val injector: Injector = Guice.createInjector(modules :_*)
@@ -22,7 +21,7 @@ trait GuiceContainer {
22
21
protected def result[T](future: Future[T]) =
23
Await.result(future, 100.minutes)
24
25
- protected def terminate: Unit = {
+ protected def terminate(): Unit = {
26
val system = instance[ActorSystem]
27
system.terminate
28
Await.result(system.whenTerminated, 1.day)
0 commit comments