summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/java/Hellotinyb.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/java/Hellotinyb.java b/examples/java/Hellotinyb.java
index 3597a63e..a4e5ea7d 100644
--- a/examples/java/Hellotinyb.java
+++ b/examples/java/Hellotinyb.java
@@ -57,5 +57,7 @@ public class Hellotinyb {
System.out.println("UUID: " + service.getUuid());
}
} while (bluetoothServices.isEmpty());
+
+ sensor.disconnect();
}
}