Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Continues to detect after activity is closed #26

Closed
ptrbrynt opened this issue Mar 31, 2017 · 1 comment
Closed

Continues to detect after activity is closed #26

ptrbrynt opened this issue Mar 31, 2017 · 1 comment

Comments

@ptrbrynt
Copy link

I've called Sensey.getInstance().stopWristTwistDetection(wristTwistListener) in onPause() and onStop(), and I've also called Sensey.getInstance().stop() in onDestroy(). Am I missing anything?

@nisrulz
Copy link
Owner

nisrulz commented Apr 2, 2017

@peter-rotacloud can you share more information like logcat logs which shows the sensey detection is happening even after your activity is closed. You are probably keeping it active somewhere, because technically if say you didnot call Sensey.getInstance().stop() in onDestroy() what you will be doing is leaking memory. The system anyways shuts down all functional execution for the activity as per the lifecycle of activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants