incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon MacDonald (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-366) Bluetooth Plugin Memory Leak
Date Fri, 30 Mar 2012 14:40:29 GMT

    [ 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

        

Mime
View raw message