Commit e1a6c1c43cb34b29a28afcbc81d2aee0f7683fc6

Authored by Volodymyr Babak
1 parent 3bdb7bb5

Added shutdown of executor on destroy

... ... @@ -117,6 +117,9 @@ public class EdgeGrpcService extends EdgeRpcServiceGrpc.EdgeRpcServiceImplBase i
117 117 if (server != null) {
118 118 server.shutdownNow();
119 119 }
  120 + if (executor != null) {
  121 + executor.shutdownNow();
  122 + }
120 123 }
121 124
122 125 @Override
... ...