[TIMOB-19973] Native Resources with Hyperloop are not getting released properly, causing memory leaks
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | None |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2016-07-21T20:36:51.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Hyperloop |
Labels | n/a |
Reporter | Bert Grantges |
Assignee | Pedro Enrique |
Created | 2015-11-13T16:39:00.000+0000 |
Updated | 2016-07-21T20:36:51.000+0000 |
Description
When leveraging Hyperlooop to access the underlying native APIs of a 3rd party library, when closing the top level parent, we are not properly releasing the resources causing memory leaks.
To reproduce, i have a working example that can be added to the standard Hyperloop Examples project.
Gist for the code is here:
https://gist.github.com/grantges/8bd9ff0403bd5887d5bf
[~bgrantges@appcelerator.com] Still reproducible with latest 1.1.0 version?
I'll have to check - is 1.1.0 on labs, or do i need to build it?
Jep, it's on labs!
Closing as duplicate of TIMOB-23435 for further discussions.