Previously we were using a single compiler instance to transpile against. It looks like this causes issues with multiple threads being spawned, but not closed. Here we create a new compielr instance for each instance, and explicitly call close on it.
Previously we were using a single compiler instance to transpile against. It looks like this causes issues with multiple threads being spawned, but not closed. Here we create a new compielr instance for each instance, and explicitly call close on it.