mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-22 11:31:02 +00:00
c2cfe35f12
When MatcherSession encounters an error, it attempts to close the session. Closing waits for all goroutines to finish, including the 'distributor'. However, the distributor will not exit until all requests have returned. This patch fixes the issue by delivering the (empty) result to the distributor before calling Close(). |
||
---|---|---|
.. | ||
doc.go | ||
generator_test.go | ||
generator.go | ||
matcher_test.go | ||
matcher.go | ||
scheduler_test.go | ||
scheduler.go |