This is an automated email from the ASF dual-hosted git repository.
jbonofre pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/karaf.git
The following commit(s) were added to refs/heads/master by this push:
new 48ffddd Fixed thread issue so BookingDisplayThread stops displaying
output on bundle:stop.
new 4fed8eb Merge pull request #897 from xloce/master
48ffddd is described below
commit 48ffdddad71d34c8c13ea99d33e768cd17570934
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();
}