Jump to content
Search Community

orikl

Members
  • Posts

    1
  • Joined

  • Last visited

orikl's Achievements

0

Reputation

  1. orikl

    Memory leak

    Hello, I'm using Greensock in my application and recently I joined the club. I now do some profiling on my application because there's a memory leak and I'm trying to find it. I am using a custom static class I have found here. Basically, I add an instance of an object I want to track to a Dictionary that constructed with weakKeys set to true, and then after I remove the object the tool calls System.gc 4 times and then prints all the keys that are still exists in the dictionary. To make things short, if I tween the object, there's still exists a reference to the object, while if I don't tween, there isn't. I even tried to kill the tween but It didn't change a thing, Is there a fix or am I doing something wrong here?
×
×
  • Create New...