fix(push): goroutine leak (#540)

This commit is contained in:
Bo-Yi Wu
2020-09-27 12:45:58 +08:00
committed by GitHub
parent e65fc288b6
commit bb18241ce9
3 changed files with 8 additions and 6 deletions

View File

@@ -63,7 +63,7 @@ func (s *Server) Send(ctx context.Context, in *proto.NotificationRequest) (*prot
ThreadID: in.ThreadID,
MutableContent: in.MutableContent,
Image: in.Image,
Priority: strings.ToLower(in.GetPriority().String()),
Priority: strings.ToLower(in.GetPriority().String()),
}
if badge > 0 {