0
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2025-07-14 03:31:50 +02:00

refactor(utils/bec_dispatcher): new singleton definition

This commit is contained in:
2024-04-10 16:24:21 +02:00
parent 452ba20216
commit 92cea90971
2 changed files with 21 additions and 17 deletions

View File

@ -33,4 +33,4 @@ def bec_dispatcher(threads_check):
# clean BEC client
bec_dispatcher.client.shutdown()
# reinitialize singleton for next test
bec_dispatcher_module._bec_dispatcher = None
bec_dispatcher_module.BECDispatcher.reset_singleton()