[ 
https://issues.apache.org/jira/browse/FELIX-4024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

J.W. Janssen resolved FELIX-4024.
---------------------------------
    Resolution: Fixed

I think this issue is solved with the fixes for FELIX-5077 / FELIX-3331. That 
is: I cannot reproduce this issue with these changes...

> Refreshing Gogo shell bundle leaves running daemon thread
> ---------------------------------------------------------
>
>                 Key: FELIX-4024
>                 URL: https://issues.apache.org/jira/browse/FELIX-4024
>             Project: Felix
>          Issue Type: Bug
>          Components: Gogo Shell
>    Affects Versions: gogo.shell-0.8.0, gogo.shell-0.10.0
>            Reporter: Lazar Kirchev
>
> In the Activator of the Gogo shell bundle a new thread is created (line 122) 
> and started (line 123). The thread instance is stored and upon bundle stop it 
> is interrupted (line 54). 
> However, the thread which is created on line 122 is daemon, so after 
> interruption on line 54 it does not go away. So each time the bundle is 
> refreshed a new thread is created and started, but the old one continues to 
> live. In this way a bunch of "Gogo shell" threads get created. These compete 
> for input from the std in and the commands are not read correctly.
> The line nubmers are valid for 0.8.0 and 0.10.0 versions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to