This is an automated email from the ASF dual-hosted git repository.

jbonofre pushed a commit to branch karaf-4.2.x
in repository https://gitbox.apache.org/repos/asf/karaf.git


The following commit(s) were added to refs/heads/karaf-4.2.x by this push:
     new fbe8841  Fixed thread issue so BookingDisplayThread stops displaying 
output on bundle:stop.
fbe8841 is described below

commit fbe88418822905b158e894b967809bed01ffa61e
Author: Cole Bishop <[email protected]>
AuthorDate: Mon Jul 1 15:46:27 2019 -0500

    Fixed thread issue so BookingDisplayThread stops displaying output on 
bundle:stop.
---
 .../src/main/java/org/apache/karaf/examples/bundle/client/Display.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/examples/karaf-bundle-example/karaf-bundle-example-client/src/main/java/org/apache/karaf/examples/bundle/client/Display.java
 
b/examples/karaf-bundle-example/karaf-bundle-example-client/src/main/java/org/apache/karaf/examples/bundle/client/Display.java
index 8e146f5..57fc56b 100644
--- 
a/examples/karaf-bundle-example/karaf-bundle-example-client/src/main/java/org/apache/karaf/examples/bundle/client/Display.java
+++ 
b/examples/karaf-bundle-example/karaf-bundle-example-client/src/main/java/org/apache/karaf/examples/bundle/client/Display.java
@@ -39,7 +39,7 @@ public class Display {
      * Init method used to start the thread.
      */
     public void init() {
-        BookingDisplayThread thread = new BookingDisplayThread(clientService);
+        thread = new BookingDisplayThread(clientService);
         thread.start();
     }
 

Reply via email to