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: <[email protected]> |
| 2017-05-04 17:03:16 | pitrou | link | issue30171 messages |
| 2017-05-04 17:03:16 | pitrou | create | |
|