jasonrbriggs / stomp.py

“stomp.py” is a Python client library for accessing messaging servers (such as ActiveMQ or RabbitMQ) using the STOMP protocol (versions 1.0, 1.1 and 1.2). It can also be run as a standalone, command-line client for testing.
Apache License 2.0
495 stars 167 forks source link

on_disconnecting never triggered #359

Open michaeljpeake opened 3 years ago

michaeljpeake commented 3 years ago

According to the docstrings for stomp.ConnectionListener, the function on_disconnecting on that class should be called before a DISCONNECT frame is sent to the server.

However, regardless of whether the disconnect is triggered by a heartbeat timeout or manually, I find this function is never triggered.