vert-x/mod-lang-scala — pull request #187 by miloszm (2014-11-18 09:24:17+00:00)
Title: Proposed fix for issue 186

Seems like access from different threads to the interpreter was causing the issue 186. Creating new interpreter for each load call works fine and fixes the issue. I've seen the same is done in the Java version of the VerticleFactory. Alternative could be to use ThreadLocal, I've tried that, it works fine, but I think doing what Java version does is probably better, as ThreadLocal would potentially hold up too many instances of the interpreter.