Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-6599

GroovyConsole: Interrupt button isn't working

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 2.2.1
    • Fix Version/s: 2.2.1
    • Component/s: Groovy Console
    • Labels:
      None
    • Environment:
       JVM: 1.7.0_51, Windows 7

      Description

      I'm not able to stop the script execution pressing the "Interrupt" button even if the "Allow interruption" menu button was set.
      This is the code:

      while(1) {
      println "something"
      sleep(500)
      }

      I have to close the GroovyConsole and close also the terminal to stop the script execution.

      I have made another try:

      @ThreadInterrupt
      import groovy.transform.ThreadInterrupt
      while(1) {
      println "something"
      sleep(500)
      }

      No effect! The "Interrupt" button is still not working.

        Attachments

          Activity

            People

            • Assignee:
              asteingress Andre Steingress
              Reporter:
              barnao Barna Ozsváth
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: