groovy
groovy copied to clipboard
Use Thread subclass instead of Closure in Console
trafficstars
The use of closure to run the method doRun in the Groovy Console class makes impossible to extend the Console in custom code due to this Groovy issue.
This PR solves the problem creating running thread using a Thread subclass instead of a Closure