Skip to content

ICSHWI-8873: Close subscriptions outside of the handler

p4p cancels the subscription when it is closed and that cancellation triggers another callback call that cannot happen because .close() itself was called from the callback. Moreover .close() will not return because it waits for an event that is to be set before the cancellation callback is called.

Dear @andersharrisson, could you please merge this?

Thanks!

Merge request reports