Tlantic / cdv-socket-plugin

Cordova Socket Plugin
GNU General Public License v3.0
51 stars 43 forks source link

Multiple locks on web thread not allowed! #36

Open vinnylinck opened 10 years ago

vinnylinck commented 10 years ago

When running out of resources (memory, cpu) the plugin exposes multiple locks on web view, throwing bool_WebTryThreadLock(bool) exceptions.

This exception put the application in a starving scenario, with no answer from plugin.

vinnylinck commented 10 years ago

It can be workarounded allowing zombie objects on x-code. Need to check things out, but this workaround will help by now.

I'm looking for a future release reviewing the way the backgroudn threads are being created.