From cdd73e57347c0655b63a6b0bb9fcaea600cc49c1 Mon Sep 17 00:00:00 2001 From: wakonig_k Date: Fri, 18 Apr 2025 13:53:05 +0200 Subject: [PATCH] wip --- bec_widgets/utils/bec_dispatcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bec_widgets/utils/bec_dispatcher.py b/bec_widgets/utils/bec_dispatcher.py index 3b02f21e..87299da0 100644 --- a/bec_widgets/utils/bec_dispatcher.py +++ b/bec_widgets/utils/bec_dispatcher.py @@ -35,7 +35,7 @@ class QtThreadSafeCallback(QObject): # make 2 differents QtThreadSafeCallback to look # identical when used as dictionary keys, if the # callback is the same - return id(self.cb) + return f"{id(self.cb)}{self.cb_info}".__hash__() def __call__(self, msg_content, metadata): self.cb_signal.emit(msg_content, metadata)