Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to have a cleanup in a Tool #277

Closed
doepnern opened this issue Nov 2, 2022 · 1 comment
Closed

Is there a way to have a cleanup in a Tool #277

doepnern opened this issue Nov 2, 2022 · 1 comment

Comments

@doepnern
Copy link
Contributor

doepnern commented Nov 2, 2022

Hey,
is there any way to have a safe way to cleanup listeners attached during a tools lifecycle. I want to listen to stack change events on a specific element and need to clean them up when the tool is destroyed. This works with onSetToolDisabled, but that function is not called, for example when destroyToolGroup is called.
Thanks!

@sedghi
Copy link
Member

sedghi commented Nov 9, 2022

onSetToolDisabled should be called as I see here

wayfarer3130 pushed a commit that referenced this issue Jan 20, 2023
Treat backslashes in UID fields as a delimiter so multiple UIDs can be specified. When using DICOM Q&R it is possible to query a list of UIDs by using a backslash as a delimiter: https://dicom.nema.org/medical/dicom/current/output/chtml/part04/sect_C.2.2.2.2.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants