Sign in
简柏林
/
thingskit
·
Commits
GitLab
Go to dashboard
Project
Activity
Files
Commits
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Network
Download as
Email Patches
Plain Diff
Browse Files
Commit
e1a6c1c43cb34b29a28afcbc81d2aee0f7683fc6
Authored by
Volodymyr Babak
2020-11-27 17:42:56 +0200
1 parent
3bdb7bb5
Added shutdown of executor on destroy
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcService.java
application/src/main/java/org/thingsboard/server/service/edge/rpc/EdgeGrpcService.java
View file @
e1a6c1c
...
...
@@ -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
...
...