bioinformatics-ua / dicoogle

Dicoogle - Open Source PACS
http://www.dicoogle.com/
GNU General Public License v3.0
426 stars 126 forks source link

Indexer thread leaks when disabling DICOM storage #663

Closed Enet4 closed 10 months ago

Enet4 commented 10 months ago

When the DICOM storage service is taken down through the operation to disable DICOM Storage, the indexer thread (which consumes from the queue of stored items and dispatches indexing tasks) is recreated, but the old one stays forever waiting for items which will never arrive, resulting in a thread leak.