Skip to content

Commit 9fd3703

Browse files
committed
Adding parentheses to system.terminate.
1 parent 14121f0 commit 9fd3703

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

openai-guice/src/main/scala/io/cequence/openaiscala/service/GuiceContainer.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ trait GuiceContainer {
2424

2525
protected def terminate(): Unit = {
2626
val system = instance[ActorSystem]
27-
system.terminate
27+
system.terminate()
2828
Await.result(system.whenTerminated, 1.day)
2929
}
3030
}

openai-guice/src/main/scala/io/cequence/openaiscala/service/OpenAIExampleApp.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ object OpenAIExampleApp extends BaseOpenAIClientApp {
88
)
99
.onComplete { _ =>
1010
openAIService.close()
11-
system.terminate
11+
system.terminate()
1212
System.exit(0)
1313
}
1414
}

0 commit comments

Comments
 (0)