Fixed MultiCompiler test. Some cases tested scenarios where closing the compiler when it is still running. However in previous memory leak fix PR, we freed the native compiler when compiler.close is called. Thus, causing a segmentation fault.
To fix this issue, we need to add a compiler status check to free only if it's not running.
Summary
Fixed
MultiCompiler
test. Some cases tested scenarios where closing the compiler when it is still running. However in previous memory leak fix PR, we freed the native compiler whencompiler.close
is called. Thus, causing a segmentation fault.To fix this issue, we need to add a compiler status check to free only if it's not running.
Checklist