fix: disable exceptions on termination

termination was actually called everytime the interpreter was exiting,
and non-parallel packages have been throwing exception because of that
This commit is contained in:
youben11
2022-03-25 17:06:47 +01:00
committed by Ayoub Benaissa
parent ad79aa627f
commit 11a1ea38b4

View File

@@ -152,9 +152,6 @@ decrypt_result(concretelang::clientlib::KeySet &keySet,
void terminateParallelization() {
#ifdef CONCRETELANG_PARALLEL_EXECUTION_ENABLED
_dfr_terminate();
#else
throw std::runtime_error(
"This package was built without parallelization support");
#endif
}