Skip to content

Stop listening to alerts in thread-safe way

Add client.stop() to stop listening to alerts in a thread-safe way. Also remove the nested while loop while listening to messages to simplify listen(), should be semantically equivalent.

The stop() method should be suitable for other tools utilizing multiple threads.

Also add extra unit tests with periodic exceptions.

Edited by Patrick Godwin

Merge request reports

Loading