commit | cd62b10bd612e0c49083cc03f4ac63376a52fe8c | [log] [tgz] |
---|---|---|
author | Jerome Poichet <jpoichet@google.com> | Thu Jun 25 12:03:02 2015 -0700 |
committer | Jérôme Poichet <jpoichet@google.com> | Thu Jun 25 19:20:38 2015 +0000 |
tree | 142cdb1139e9f928b14b6b60c24b27fb7662730b | |
parent | f9c6dbb6d1c2001c0ccd7479668eb59b1d4b7c5c [diff] |
Preventing leak When transitioning from ON to OFF with LE Advertisers, advertiser do not get a chance to unregister themselves as the stopAdvertising checks the state of the stack and throws before unregistering the object. It will then never remove the callback objects causing a leak. b/22092678 | Remote service crash after switching to restricted profile Change-Id: I04817026a524d10d60abdd8b533554a71a0112e2