[#XX] morph/event: Release ants.Pool on listener stopping
Vulncheck / Vulncheck (pull_request) Successful in 4m18s Details
DCO action / DCO (pull_request) Failing after 6m59s Details
Build / Build Components (1.21) (pull_request) Successful in 8m47s Details
Tests and linters / gopls check (pull_request) Successful in 9m5s Details
Tests and linters / Lint (pull_request) Successful in 9m35s Details
Tests and linters / Staticcheck (pull_request) Successful in 10m1s Details
Build / Build Components (1.22) (pull_request) Successful in 9m55s Details
Tests and linters / Tests (1.21) (pull_request) Failing after 18m25s Details
Tests and linters / Tests with -race (pull_request) Failing after 18m59s Details
Tests and linters / Tests (1.22) (pull_request) Failing after 19m25s Details
Pre-commit hooks / Pre-commit (pull_request) Successful in 39m32s Details

Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
Denis Kirillov 2024-07-04 12:09:18 +03:00
parent 3a797e4682
commit b567aa7b35
1 changed files with 1 additions and 0 deletions

View File

@ -621,6 +621,7 @@ func (l *listener) RegisterNotaryHandler(hi NotaryHandlerInfo) {
func (l *listener) Stop() {
l.stopOnce.Do(func() {
l.subscriber.Close()
l.pool.Release()
})
l.wg.Wait()
}