Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19973] Native Resources with Hyperloop are not getting released properly, causing memory leaks

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionDuplicate
Resolution Date2016-07-21T20:36:51.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsHyperloop
Labelsn/a
ReporterBert Grantges
AssigneePedro Enrique
Created2015-11-13T16:39:00.000+0000
Updated2016-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

Comments

  1. Hans Knöchel 2016-02-29

    [~bgrantges@appcelerator.com] Still reproducible with latest 1.1.0 version?
  2. Bert Grantges 2016-02-29

    I'll have to check - is 1.1.0 on labs, or do i need to build it?
  3. Hans Knöchel 2016-02-29

    Jep, it's on labs!
  4. Hans Knöchel 2016-07-21

    Closing as duplicate of TIMOB-23435 for further discussions.

JSON Source