Removing unnessisary go routines to fix random test failure. (#6838)

Этот коммит содержится в:
Christopher Speller
2017-07-04 06:37:52 -07:00
коммит произвёл Harrison Healey
родитель 29b98ec383
Коммит 1858fba7d4

Просмотреть файл

@@ -16,10 +16,11 @@ import (
l4g "github.com/alecthomas/log4go"
"image/color/palette"
"github.com/disintegration/imaging"
"github.com/mattermost/platform/model"
"github.com/mattermost/platform/utils"
"image/color/palette"
)
const (
@@ -131,8 +132,8 @@ func DeleteEmoji(emoji *model.Emoji) *model.AppError {
return err
}
go deleteEmojiImage(emoji.Id)
go deleteReactionsForEmoji(emoji.Name)
deleteEmojiImage(emoji.Id)
deleteReactionsForEmoji(emoji.Name)
return nil
}