[jboss-jira] [JBoss JIRA] (WFCORE-2250) CLI can exit although Aesh console has not been cleaned

Jean-Francois Denise (JIRA) issues at jboss.org
Tue Jan 31 12:33:00 EST 2017


Jean-Francois Denise created WFCORE-2250:
--------------------------------------------

             Summary: CLI can exit although Aesh console has not been cleaned
                 Key: WFCORE-2250
                 URL: https://issues.jboss.org/browse/WFCORE-2250
             Project: WildFly Core
          Issue Type: Bug
          Components: CLI
            Reporter: Jean-Francois Denise
            Assignee: Jean-Francois Denise


2 Threads. Thread1 is polling Aesh console status for its running state, as soon as the state is switched to !running, the CLI exists. 
Ctrl-C is sent to CLI, Aesh command Thread initiates a shutdown, the CLI calls console.stop(). Aesh change running state to be false THEN does some cleanup. If thread1 is scheduled, then CLI exists although cleanup has not yet been operated. leaving an insane TTY.

The fix is to switch to Aesh 0.66.15 in which this bug has been fixed.




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


More information about the jboss-jira mailing list