tohojo / flent

The FLExible Network Tester.
https://flent.org
Other
431 stars 77 forks source link

runners: Fix crash on closing object with no stdout/stderr attributes #269

Closed tohojo closed 2 years ago

tohojo commented 2 years ago

If no file descriptors are passed between processes in the pickled objects, the unpickled object will lead to a crash because it's missing the stdout/stderr attributes. Make sure we set them if no FDs are passed through the pickle/unpickle.

Hopefully fixes #268

tohojo commented 2 years ago

Closing in favour of #270