Skip to content
This repository has been archived by the owner on Dec 28, 2024. It is now read-only.

Commit

Permalink
Revert potentially erroneous change from #81 (#90)
Browse files Browse the repository at this point in the history
It is suspected that #81 introduced a change causing a bug when
communicating with Svix Play in relay mode. This change reverts #81 in order
to eliminate that possibility.
svix-daniel authored Jan 31, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent a096b84 commit 785b9bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions relay/relay.go
Original file line number Diff line number Diff line change
@@ -130,11 +130,11 @@ func (c *Client) Listen(ctx context.Context) {
close(c.stopRead)
close(c.stopWrite)

c.wg.Wait()

if c.conn != nil {
c.conn.Close()
}

c.wg.Wait()
}
}
}

0 comments on commit 785b9bd

Please sign in to comment.