Open tomprince opened 3 years ago
I have seen this too (esp. when running lots of examples or so, the test-runner can run out of filedescriptors).
(Since startService()
gets called in this case, probably what's required is to arrange for stopService()
to be called .. )
(Since
startService()
gets called in this case, probably what's required is to arrange forstopService()
to be called .. )
That should definitely address it, although I'd still be curious what global state is being kept around that doesn't automatically get cleaned up.
Some of the services are infinite-loops, basically (or LoopingCalls
) so that's probably enough to keep most of their memory around...?
magic_folder.test.test_web.treq_folders
currently leaks resources whenstart_folder_services=True
. I presume either through an object cycle, or something in the services mutates a global.