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

GroovyConsole: Interrupt button isn't working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 2.2.1
    • 2.2.1
    • Groovy Console
    • None
    •  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

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

            Dates

              Created:
              Updated:
              Resolved: