Don't forget to close database
This commit is contained in:
parent
62a12ae97d
commit
e8b4a906b0
4
main.go
4
main.go
@ -162,6 +162,10 @@ func main() {
|
|||||||
}
|
}
|
||||||
s.history = history
|
s.history = history
|
||||||
|
|
||||||
|
if history != nil {
|
||||||
|
defer history.db.Close()
|
||||||
|
}
|
||||||
|
|
||||||
irccon.VerboseCallbackHandler = false
|
irccon.VerboseCallbackHandler = false
|
||||||
irccon.Debug = false
|
irccon.Debug = false
|
||||||
irccon.UseTLS = false
|
irccon.UseTLS = false
|
||||||
|
Reference in New Issue
Block a user