Rasmus Brandt Olesen
2018-05-03 10:19:15 UTC
Hi,
I have a Unity, that uses a c++ library, that is again connected to a java
library.
So the call flow is:
1. Unity call c++ library
2. c++ library calls Java method using JNI
3. java method call same c++ library
In the c++ library we have a static singleton instance.
When we run this on Android 6.0+, then we get the exact same instance of
that singleton, and everything is fine.
But on Android 5.0/5.1 we get 2 different instances
Can anyone help to explain why we see this behaviour on Android 5?
Thanks!,
Rasmus Brandt Olesen
I have a Unity, that uses a c++ library, that is again connected to a java
library.
So the call flow is:
1. Unity call c++ library
2. c++ library calls Java method using JNI
3. java method call same c++ library
In the c++ library we have a static singleton instance.
When we run this on Android 6.0+, then we get the exact same instance of
that singleton, and everything is fine.
But on Android 5.0/5.1 we get 2 different instances
Can anyone help to explain why we see this behaviour on Android 5?
Thanks!,
Rasmus Brandt Olesen
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/f29b8b36-7d34-4feb-833a-34931c68a27d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/f29b8b36-7d34-4feb-833a-34931c68a27d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.