multiscale / muscle3

The third major version of the MUltiScale Coupling Library and Environment
Apache License 2.0
25 stars 13 forks source link

Feature/unit test cleanup threads #300

Open maarten-ic opened 3 weeks ago

maarten-ic commented 3 weeks ago

This PR adds a fixture to check that no threads are left running after every test.

It also fixes every case where threads were left running, and thereby prevents the following DeprecationWarning:

DeprecationWarning: This process (pid=......) is multi-threaded, use of fork() may lead to deadlocks in the child.