We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

SfBusyIndicator AnimationStopped - CPU Load anormal

Hello SyncFusion team,

I discovered strange behavior when SfBusyIndicator animation is stopped.
A process on MainThread is using CPU (100% and more).
It's battery consuming and device become warm (iPhone 8+).

I created a project to reproduce it (It also contains screenshot and saved cpu profile),
then use Instrument > Time Profiler - Then profile my test project.

You'll see that MainThread is "running" almost all the time, and its weight = 89% (in my screenshot for 22s running).

in the process tree, I found that Syncfusion_SfBusyIndicator_iOS_SfBusyIndicator_Animation_AnimationStopped_object_CoreAnimation_CAAnimationStateEventArgs 
is the guilty process.

Please have a look,
I like your BusyIndicator,
but I won't use it with this "dangerous" behavior.

Regards,

Cyril



Attachment: SfBusIndicatorCPULoad_6163937e.zip

1 Reply

PA Paul Anderson S Syncfusion Team December 3, 2018 12:11 PM UTC

Hi Cyril, 
 
Greetings from syncfusion. 
 
We checked the reported issue “Memory leak issue occurs in SfBusyIndicator when using the Rectangle animation” and we are able to reproduce the reported issue from our side. We have logged a defect report for fixing the memory leak issue in SfBusyIndicator. The fix will be available in the upcoming volume 4 SP1 release which will be released in the end of January 2019. 
 
Regards, 
Paul Anderson 


Loader.
Live Chat Icon For mobile
Up arrow icon