mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-16 21:59:53 +05:00
Removed RateSv1 from RPC on service shutdown
This commit is contained in:
committed by
Dan Christian Bogos
parent
b4768ce99a
commit
1f9c65dc44
@@ -102,6 +102,7 @@ func (rs *RateService) Shutdown() (err error) {
|
||||
rs.rateS.Shutdown() //we don't verify the error because shutdown never returns an err
|
||||
rs.rateS = nil
|
||||
<-rs.intConnChan
|
||||
rs.server.RpcUnregisterName(utils.RateSv1)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user