mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-29 20:00:30 +00:00
Send retain:remove before unsubscribing
This commit is contained in:
parent
c8a97d0453
commit
3cc49ef972
1 changed files with 1 additions and 1 deletions
|
@ -145,8 +145,8 @@ func HandleUpdate(c context.Context, message *stomp.Message) {
|
|||
}
|
||||
|
||||
defer func() {
|
||||
client.Unsubscribe(sub)
|
||||
client.Send(dest, []byte{}, stomp.WithRetain("remove"))
|
||||
client.Unsubscribe(sub)
|
||||
}()
|
||||
|
||||
select {
|
||||
|
|
Loading…
Reference in a new issue