Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
5.15, 6.2
-
None
-
-
13
-
Team 1 Foundation_Sprint 47, Team 1 Foundation_Sprint 48
Description
The JNI calls from Qt/C++ to Java are typically executed in different thread than the Java-side callback functions.
This means that there needs to be proper thread protection mechanisms in place on both Client and Server side.
As an example the JNI disconnectServer() call might null the mGattServer variable while a callback using the mGattServer is in progress in another thread. This can lead to unpredictable runtime behaviors.