TelegramChart icon indicating copy to clipboard operation
TelegramChart copied to clipboard

View Couldn’t be dismissed

Open jiminghe opened this issue 3 years ago • 3 comments

Hi,

Thanks for designing this incredible chart! I was using it to plot data at 60 Hz, it works well. I designed several views and when I tried to segue back to the previous view, I found that the memory doesn't decrease and when I try to get into the chart view again, the memory increased by 50MB again, and this happens again and again, so the memory was piling up each time I run the chart view.

I had tried to look into it and it seems that we need to "autoreleasepool" for the chart draw/render.

But I don't know where to change your code.

Could you please kindly help yo take a look at this?

Thanks

jiminghe avatar Oct 18 '21 11:10 jiminghe