OSDN Git Service
(root)
/
bytom
/
bytom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bc866e
)
Add event resource release when node stop (#1540)
author
yahtoo
<yahtoo.ma@gmail.com>
Thu, 27 Dec 2018 08:46:32 +0000
(16:46 +0800)
committer
Paladz
<yzhu101@uottawa.ca>
Thu, 27 Dec 2018 08:46:32 +0000
(16:46 +0800)
node/node.go
patch
|
blob
|
history
diff --git
a/node/node.go
b/node/node.go
index
8feb5f0
..
2399fd7
100644
(file)
--- a/
node/node.go
+++ b/
node/node.go
@@
-276,6
+276,7
@@
func (n *Node) OnStop() {
if !n.config.VaultMode {
n.syncManager.Stop()
}
+ n.eventDispatcher.Stop()
}
func (n *Node) RunForever() {