Issue Type: Bug Bug
Assignee: Thomas E Enebo
Created: 25/Jan/13 11:28 AM
Description:

Ruby.newInstance(RubyInstanceConfig) should not unconditionally setGlobalRuntime. This is fine for jrubyc, but it should use some other method for standing up a runtime instance. ScriptingContainer when not a SINGLETON ends up starting up potentially n runtimes typically in different classloaders. The terminate() of ScriptingContainer does not unset this (I think you can argue it shouldn't unless global runtime == this) and then leaks a runtime. ScriptingContainer users can Ruby.clearGlobalRuntime() but this is weird.

Project: JRuby
Priority: Major Major
Reporter: Thomas E Enebo
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to