Open pchristos opened 7 months ago
Yeah, there's some iffy behaviour in shutting the DUL down properly that will be fixed in the next release.
Thanks! ETA for the next release?
It'll be quite a while, I think. I've been focussing on pydicom's v3.0 release.
In that case, what's your recommended approach? Is the proposed alternative a valid approach for now?
Hey, any updates on this?
Nothing so far, but probably soonish.
Hi,
I have investigated a memory leak, which seems to be related to attempts of manually aborting associations.
Minimal example:
The above seems like a straight-forward way of aborting, but leads to leaking of DUL threads.
I have found that the below alternative works better:
The above approach is based on this.
I am wondering what is actually the best approach to abort an association at any time. Thoughts?
Originally posted by @pchristos in https://github.com/pydicom/pynetdicom/issues/652#issuecomment-1387319121
pydicom 2.3.1 pynetdicom 2.0.2