[jboss-jira] [JBoss JIRA] (WFCORE-2272) Ctrl-C sent on command taking long time doesn't cancel the current operation

Jean-Francois Denise (JIRA) issues at jboss.org
Tue Feb 7 12:38:00 EST 2017


Jean-Francois Denise created WFCORE-2272:
--------------------------------------------

             Summary: Ctrl-C sent on command taking long time doesn't cancel the current operation
                 Key: WFCORE-2272
                 URL: https://issues.jboss.org/browse/WFCORE-2272
             Project: WildFly Core
          Issue Type: Bug
          Components: CLI
            Reporter: Jean-Francois Denise
            Assignee: Jean-Francois Denise


For example, during a deploy that takes time, a user types Ctrl-C, this does unlock the prompt and the command "seems" to have been interrupted. Actually the command thread has been interrupted but not the remoting task that is in progress. So although the user can think its command has been aborted, it is silently processing in background.

When interruption occurs in a command thread, current remoting task should be canceled. This is what we are doing today when a timeout is set on a command.







--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list