You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Simon MacDonald (Commented) (JIRA)" <ji...@apache.org> on 2012/03/30 16:40:29 UTC
[jira] [Commented] (CB-366) Bluetooth Plugin Memory Leak
[ https://issues.apache.org/jira/browse/CB-366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13242385#comment-13242385 ]
Simon MacDonald commented on CB-366:
------------------------------------
Hey Luis,
The Bluetooth plugin is not part of the core API it is a 3rd party add on. The best thing for you to do is to submit a pull request to:
https://github.com/phonegap/phonegap-plugins
with you fix and it will get accepted. In the meantime I'm going to close this issue.
> Bluetooth Plugin Memory Leak
> ----------------------------
>
> Key: CB-366
> URL: https://issues.apache.org/jira/browse/CB-366
> Project: Apache Callback
> Issue Type: Bug
> Components: Android
> Affects Versions: 1.4.0
> Reporter: Luis Cortes
> Assignee: Joe Bowser
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> Minor leak detected because the looper object was not released. a simple fix can be applied at the end of the "execute" routine before the return will clean this up.
> if ( Looper.myLooper() != null)
> {
> // Log.d("BluetoothPlugin", "Quit looper ...");
> Looper.myLooper().quit();
>
> }
>
>
> return result;
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira