diff options
author | Vlad Kolotov <[email protected]> | 2017-09-27 20:32:57 +1300 |
---|---|---|
committer | petreeftime <[email protected]> | 2017-10-03 08:25:47 +0300 |
commit | fe5fd110db1659853ffa2df32bcef38cd15e1acd (patch) | |
tree | dcc024e7f622a707924101ba2dd73d23438c1759 | |
parent | daa37a0e09bc79c6f21a205b93a211e33042e48b (diff) |
Removing System.exit as it causes to exit application containers (like OSGi and Spring). The library could be "side loaded", e.g. via temp folder etc.
Signed-off-by: Vlad Kolotov <[email protected]>
-rw-r--r-- | java/BluetoothObject.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/java/BluetoothObject.java b/java/BluetoothObject.java index d2a4d056..2afb8c3c 100644 --- a/java/BluetoothObject.java +++ b/java/BluetoothObject.java @@ -36,7 +36,6 @@ public abstract class BluetoothObject implements Cloneable,AutoCloseable System.loadLibrary("javatinyb"); } catch (UnsatisfiedLinkError e) { System.err.println("Native code library failed to load.\n" + e); - System.exit(-1); } } |