mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Addressing PR review comments
This commit is contained in:
@@ -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 != "" {
|
||||
|
||||
Reference in New Issue
Block a user