Addressing PR review comments

This commit is contained in:
Jesús Espino
2020-01-22 16:06:42 +01:00
parent 7fb2c8adba
commit 22bb8ad34e

View File

@@ -116,8 +116,10 @@ func (h *MainHelper) setupResources() {
}
func (h *MainHelper) Close() error {
if h.Settings != nil {
if h.SQLSupplier != nil {
h.SQLSupplier.Close()
}
if h.Settings != nil {
storetest.CleanupSqlSettings(h.Settings)
}
if h.testResourcePath != "" {