mirror of
https://github.com/datarhei/core.git
synced 2025-11-03 10:30:53 +08:00
Remove bottlenecks in process handling, still some rough edges
This commit is contained in:
@@ -634,7 +634,6 @@ func (c *cluster) Shutdown() error {
|
||||
|
||||
if c.manager != nil {
|
||||
c.manager.NodesClear()
|
||||
c.manager = nil
|
||||
}
|
||||
|
||||
if c.api != nil {
|
||||
@@ -648,6 +647,9 @@ func (c *cluster) Shutdown() error {
|
||||
c.raft.Shutdown()
|
||||
}
|
||||
|
||||
c.manager = nil
|
||||
c.raft = nil
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user