Sven Van Asbroeck
Sven Van Asbroeck
The `must_shutdown` variable is captured in the lambda, which is a closure. Setting `must_shutdown` to `True` makes the lambda return `False` so that the `requestLoop` eventually exits. The `ThreadPoolExecutor` context...
Followed your suggestion to use `daemon.shutdown()` this works faster, great ! Same result though, the two tests still fail: ```python @pytest.fixture def proxy(): global _live_objects _live_objects = set() with ThreadPoolExecutor(max_workers=1)...
I added a few simple (currently failing) tests that verify autoproxy lifetimes here: https://github.com/irmen/Pyro5/pull/93 Maybe these might be useful as a starting point to investigate the issue further?