mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-16 21:59:53 +05:00
BUG fixup - StorDB close looping
This commit is contained in:
@@ -121,7 +121,6 @@ func main() {
|
||||
defer scribeAgent.Client.Close()
|
||||
}
|
||||
}
|
||||
|
||||
err = loader.LoadDestinations()
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
|
||||
@@ -31,7 +31,7 @@ type SQLStorage struct {
|
||||
}
|
||||
|
||||
func (self *SQLStorage) Close() {
|
||||
self.Close()
|
||||
self.Db.Close()
|
||||
}
|
||||
|
||||
func (self *SQLStorage) Flush() (err error) {
|
||||
|
||||
Reference in New Issue
Block a user