mirror of
https://github.com/xaionaro-go/streamctl.git
synced 2025-10-15 12:00:41 +08:00
Upgrade some dependencies
This commit is contained in:
@@ -86,14 +86,14 @@ func NewCodeReceiver(
|
||||
}),
|
||||
}
|
||||
|
||||
observability.Go(ctx, func() {
|
||||
observability.Go(ctx, func(ctx context.Context) {
|
||||
<-ctx.Done()
|
||||
listener.Close()
|
||||
srv.Close()
|
||||
close(codeCh)
|
||||
})
|
||||
|
||||
observability.Go(ctx, func() {
|
||||
observability.Go(ctx, func(ctx context.Context) {
|
||||
srv.Serve(listener)
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user