Toggle navigation
Toggle navigation
This project
Loading...
Sign in
홍길동
/
onos
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Madan Jampani
2014-10-13 11:19:37 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3ffbb2718947edcd42ab4ff8fa4c76f87e5435e7
3ffbb271
1 parent
1f601248
Shutting down AE executor on GossipLinkStore deactivate
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
core/store/dist/src/main/java/org/onlab/onos/store/link/impl/GossipLinkStore.java
core/store/dist/src/main/java/org/onlab/onos/store/link/impl/GossipLinkStore.java
View file @
3ffbb27
...
...
@@ -152,6 +152,16 @@ public class GossipLinkStore
@Deactivate
public
void
deactivate
()
{
executor
.
shutdownNow
();
try
{
if
(!
executor
.
awaitTermination
(
5
,
TimeUnit
.
SECONDS
))
{
log
.
error
(
"Timeout during executor shutdown"
);
}
}
catch
(
InterruptedException
e
)
{
log
.
error
(
"Error during executor shutdown"
,
e
);
}
linkDescs
.
clear
();
links
.
clear
();
srcLinks
.
clear
();
...
...
Please
register
or
login
to post a comment