0
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2025-07-13 19:21:50 +02:00

fix(bec_signal_proxy): unblock signal timer cleanup added

This commit is contained in:
2025-02-10 22:19:00 +01:00
committed by wyzula_j
parent 8c2a5e61fc
commit 0addef5f17

View File

@ -80,3 +80,11 @@ class BECSignalProxy(SignalProxy):
"""
if self.blocked:
self.unblock_proxy()
def cleanup(self):
"""
Cleanup the proxy by stopping the timer and disconnecting the timeout signal.
"""
self._timer.stop()
self._timer.timeout.disconnect(self._timeout_unblock)
self._timer.deleteLater()