Open nclack opened 1 year ago
cpx_shutdown ensures drivers etc are properly cleaned up, but this doesn't get called when a test fails with an exception. We could wrap the runtime in a class for these c++ tests so that we rely on RAII to ensure shutdown is called.
cpx_shutdown ensures drivers etc are properly cleaned up, but this doesn't get called when a test fails with an exception. We could wrap the runtime in a class for these c++ tests so that we rely on RAII to ensure shutdown is called.