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

Commit

Permalink
chore: streams, close non-streaming channel
Browse files Browse the repository at this point in the history
Signed-off-by: Valery Piashchynski <[email protected]>
  • Loading branch information
rustatian committed Aug 4, 2023
1 parent 90c31c6 commit 95088d8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pool/static_pool/workers_pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,8 @@ begin:
resp <- newPExec(rsp, nil)
// return worker back
sp.ww.Release(w)
// close the channel
close(resp)
return resp, nil
default:
panic("workers_pool unreachable!")
Expand Down

0 comments on commit 95088d8

Please sign in to comment.