Fix panics due to writes on closed channels reported in the support chat.
This was caused by a previous refactor which removed a write to the closing channel in favour of simply closing the channel. It has now been improved to be thread safe on both polling and webhooks.
Impact
Are your changes backwards compatible? Y
Have you included documentation, or updated existing documentation? Y
Do errors and log messages provide enough context? Y
What
Fix panics due to writes on closed channels reported in the support chat.
This was caused by a previous refactor which removed a write to the closing channel in favour of simply closing the channel. It has now been improved to be thread safe on both polling and webhooks.
Impact