You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 15, 2020. It is now read-only.
My SCALAR_SENSOR service that connects through the whistlepunk.api.scalarinput AIDL doesn't get an onDestroy() when science journal is closed on chromeos
#37
Sorry for the long title... couldn't think of anything more succinct. On multiple android phones whenever I close science journal the service that I use to scan devices, sensors, update science journal with new sensor data etc through the whistlepunk.api.scalarinput AIDL gets an onDestroy() call. I'm currently relying on that call to let the rest of my code that handles bluetooth connections etc know it is ok to shutdown, close my gatt connections, stop scanning, etc.
On chromeos when the google science journal app is closed this onDestroy() call never happens.
Is this a bug? Or am I relying on undefined behavior?
If you think it is a bug just point me in the general direction I should be looking in the science journal code and I'll be happy to try and fix it. If it isn't a bug I would appreciate some advice on how I should tell whether science-journal is still running/cares about what I am doing from my end. Thank you.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Sorry for the long title... couldn't think of anything more succinct. On multiple android phones whenever I close science journal the service that I use to scan devices, sensors, update science journal with new sensor data etc through the whistlepunk.api.scalarinput AIDL gets an onDestroy() call. I'm currently relying on that call to let the rest of my code that handles bluetooth connections etc know it is ok to shutdown, close my gatt connections, stop scanning, etc.
On chromeos when the google science journal app is closed this onDestroy() call never happens.
Is this a bug? Or am I relying on undefined behavior?
If you think it is a bug just point me in the general direction I should be looking in the science journal code and I'll be happy to try and fix it. If it isn't a bug I would appreciate some advice on how I should tell whether science-journal is still running/cares about what I am doing from my end. Thank you.
The text was updated successfully, but these errors were encountered: