Fix unsubscribe queue
This commit is contained in:
parent
493bf3ce15
commit
8ed2e478d8
|
@ -233,6 +233,10 @@ func (serve *Serve) Shutdown() {
|
|||
value.subj.Unsubscribe()
|
||||
close(value.inputChan)
|
||||
}
|
||||
err := serve.subj.Unsubscribe()
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
close(serve.chanQueueCallback)
|
||||
serve.nc.Close()
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user