decred / dcrpool

decred mining pool
ISC License
31 stars 28 forks source link

pool: Don't leak process pmts goroutine. #395

Closed davecgh closed 1 year ago

davecgh commented 1 year ago

This ensures the process payments method in the payment manager that handles sending payment messages respects a provided context so it does not potentially leak a goroutine if the context context controlling the payment manager is canceled prior to receiving the message.