[jbosstools-issues] [JBoss JIRA] (JBIDE-24831) Race condition between launching minishift and adding debug listener

Rob Stryker (JIRA) issues at jboss.org
Tue Aug 8 10:47:00 EDT 2017


Rob Stryker created JBIDE-24831:
-----------------------------------

             Summary: Race condition between launching minishift and adding debug listener
                 Key: JBIDE-24831
                 URL: https://issues.jboss.org/browse/JBIDE-24831
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: cdk
    Affects Versions: 4.5.0.Final
            Reporter: Rob Stryker


The current code does the following:
  1) Launch the process
  2) Then add the debugListener to o.e.debug

This is problematic. If the process ends very quickly,. our listener will never get alerted that the process terminated, and so the server will be stuck at 'starting'. 

Solution is to add the debugListener BEFORE launching the process. 



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


More information about the jbosstools-issues mailing list