Message293001
The thread seems to be stopped when the Queue object is finalized:
# Send sentinel to the thread queue object when garbage collected
self._close = Finalize(
self, Queue._finalize_close,
[self._buffer, self._notempty],
exitpriority=10
)
I don't think the other resources (pipe, lock, semaphore) need explicit cleaning. |
|
Date |
User |
Action |
Args |
2017-05-04 17:03:16 | pitrou | set | recipients:
+ pitrou, vstinner, serhiy.storchaka, davin |
2017-05-04 17:03:16 | pitrou | set | messageid: <1493917396.36.0.335165536592.issue30171@psf.upfronthosting.co.za> |
2017-05-04 17:03:16 | pitrou | link | issue30171 messages |
2017-05-04 17:03:16 | pitrou | create | |
|