Pastel icon indicating copy to clipboard operation
Pastel copied to clipboard

Question: memory seems to be leaked

Open creaaa opened this issue 7 years ago • 5 comments

Dear Community,

Hello, I'm Masa. Pardon my stupid question. I was trying Pastel with Memory Graph Debug, and it seemed to cause memory leak. I also confirmed Passcode which used Pastel, and I confirmed same phenomenon. (It seems to cause when initializing colors property and inside PastelView#currentGradientSet() method.)

I've been searching and thinking the reason and solution, but I've not found a solution yet... (I found some articles which say objects included "core" framework originally aren't be located under ARC, so I suspect this relates to memory leak but I've not found a perfect solution.)

So, Can I use Pastel ignoring this phenomenon? Is that not a big problem?

I'm sorry to bother you.

Thanks, Masa

2017-08-19 10 38 42 2017-08-19 10 37 52

creaaa avatar Aug 20 '17 05:08 creaaa

I seem to have the same issue.

thereal1 avatar Sep 10 '17 20:09 thereal1

This was solved? I want use in our project :(

paulocoutinhox avatar Oct 05 '17 18:10 paulocoutinhox

Any news?

czater avatar Oct 08 '17 18:10 czater

Running into the same problem. Was debugging my app due to +100% CPU after transitioning away from a view controller with a PastelView. Tried removing, stopping, and weak referencing through an IBOutlet as well.

laferil avatar Nov 06 '17 21:11 laferil

Maybe it's a long not-touched thread, but I will try to fix it in one of the upcoming maintenance fixes.

sxcore avatar Mar 13 '18 14:03 sxcore