I\'ve implemented GCM notifications on my app. I am now trying to un-register the app when the user logs out. I am using the following code. When this code executes, it caus
Not sure this will solve your problem, but it's always a good idea to pass the application Context to third party frameworks, rather than Activity instances, as the latter can lead to memory leaks. Try this instead: