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

jfeinauer pushed a commit to branch add-simple-mock-driver
in repository https://gitbox.apache.org/repos/asf/incubator-plc4x.git

commit db0922da76686402d239f06024373efd69c31c34
Author: julian <j.feina...@pragmaticminds.de>
AuthorDate: Thu Nov 1 12:16:28 2018 +0100

    Minor fix in the HelloOpm.java example.
---
 .../main/java/org/apache/plc4x/java/examples/helloplc4x/HelloOpm.java   | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/examples/hello-world-plc4x/src/main/java/org/apache/plc4x/java/examples/helloplc4x/HelloOpm.java
 
b/examples/hello-world-plc4x/src/main/java/org/apache/plc4x/java/examples/helloplc4x/HelloOpm.java
index 2925fe1..99c90bb 100644
--- 
a/examples/hello-world-plc4x/src/main/java/org/apache/plc4x/java/examples/helloplc4x/HelloOpm.java
+++ 
b/examples/hello-world-plc4x/src/main/java/org/apache/plc4x/java/examples/helloplc4x/HelloOpm.java
@@ -52,6 +52,8 @@ public class HelloOpm {
         helloOpm.readValueFromPlcUsingConnectedEntity();
         // Do a fetch via read
         helloOpm.readValueFromPlcUsingRead();
+        // Stop the application
+        System.exit(0);
     }
 
     public HelloOpm() {

Reply via email to