ArthurGuibert/FSLineChart

add UIGraphicsPopContext

icoco opened this issue · 1 comments

icoco commented

hi, the function drawGrid of FSLineChart,

since it invoke : UIGraphicsPushContext(ctx);
so have to release it as follows:

//@step should be pop to release
UIGraphicsPopContext();

or else memory leak ?

Done. Thank you.