Skip to content

Commit

Permalink
add close to shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
peacewong committed Mar 19, 2022
1 parent 8953caa commit 550f598
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ class DefaultAccessibleService extends AccessibleService with Logging {
var executor: Executor = ExecutorManager.getInstance.getReportExecutor
if (null != executor) {
Utils.tryAndWarn{
executor.close()
executor.tryShutdown()
}
warn(s"Engine : ${Sender.getThisInstance} with state has stopped successfully.")
Expand Down

0 comments on commit 550f598

Please sign in to comment.