From 11a1ea38b43957e2a1cc574044dc4aedfd0eace1 Mon Sep 17 00:00:00 2001 From: youben11 Date: Fri, 25 Mar 2022 17:06:47 +0100 Subject: [PATCH] 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 --- compiler/lib/CAPI/Support/CompilerEngine.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/compiler/lib/CAPI/Support/CompilerEngine.cpp b/compiler/lib/CAPI/Support/CompilerEngine.cpp index b04b8e83d..f5611e188 100644 --- a/compiler/lib/CAPI/Support/CompilerEngine.cpp +++ b/compiler/lib/CAPI/Support/CompilerEngine.cpp @@ -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 }