cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kirill Anoshin (JIRA)" <>
Subject [jira] [Created] (CB-10276) cordova-ios@4 is unstable
Date Tue, 29 Dec 2015 06:36:49 GMT
Kirill Anoshin created CB-10276:

             Summary: cordova-ios@4 is unstable
                 Key: CB-10276
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS
         Environment: cordova@5.4.1 cordova-ios@4.0.1
            Reporter: Kirill Anoshin
            Priority: Blocker

Here is a demo project to reproduce unstable behavior -
You can try to run this app ~20 times and I'm sure that you will be able to reproduce huge
memory leak and 100% cpu usage (both on real device and emulator).

This app is using 3rd party plugin that works stable on previous versions of cordova-ios.
After some research I noticed that unstable behavior disappears if I wrap all plugin calls
[self.commandDelegate runInBackground:^{
block. Otherwise WebThread sometimes goes crazy and the device becomes unresponsive. I believe
that this is a bug because previously it was ok to run plugin calls that takes small amount
of time in the main thread. Also it seems that a lot of existing plugins don't care about
running in background thread and it makes update to cordova-ios@4 impossible.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message