Removing unnessisary go routines to fix random test failure. (#6838)
Этот коммит содержится в:
коммит произвёл
Harrison Healey
родитель
29b98ec383
Коммит
1858fba7d4
@@ -16,10 +16,11 @@ import (
|
|||||||
|
|
||||||
l4g "github.com/alecthomas/log4go"
|
l4g "github.com/alecthomas/log4go"
|
||||||
|
|
||||||
|
"image/color/palette"
|
||||||
|
|
||||||
"github.com/disintegration/imaging"
|
"github.com/disintegration/imaging"
|
||||||
"github.com/mattermost/platform/model"
|
"github.com/mattermost/platform/model"
|
||||||
"github.com/mattermost/platform/utils"
|
"github.com/mattermost/platform/utils"
|
||||||
"image/color/palette"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
@@ -131,8 +132,8 @@ func DeleteEmoji(emoji *model.Emoji) *model.AppError {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
go deleteEmojiImage(emoji.Id)
|
deleteEmojiImage(emoji.Id)
|
||||||
go deleteReactionsForEmoji(emoji.Name)
|
deleteReactionsForEmoji(emoji.Name)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user