blackberry / BB10-Webworks-Packager

The BB10 WebWorks Packager bundles the App content with the BB10 WebWorks Framework to create a BAR to run on the BB10 Device (or simulator)
27 stars 18 forks source link

Event API - Error occurs when closing an application while a battery event listener is running on 10.0.05 #140

Open ishneur opened 12 years ago

ishneur commented 12 years ago
  1. Run the attached app
  2. Add an event listener for batterystatus, batterycritical or batterylow
  3. Close the app

The following error occurs: "application did not handle 'exit' message and was slayed"

This error happens on 10.0.5 (10.0.5.251) and not on 10.0.4.

This issue happens in the next branch and in the following branches: blackberry-webworks/BB10-WebWorks-Framework#45 blackberry-webworks/BB10-WebWorks-Framework#46

Attachment: https://github.com/downloads/blackberry-webworks/BB10-Webworks-Packager/GHI140.zip Screenshot: https://github.com/downloads/blackberry-webworks/BB10-Webworks-Packager/GHI140.bmp

rwmtse commented 12 years ago

@nukulb When the guy said PR 165663 is resolved, he opened another issue PR 166456 which is to ensure "application.exit" event is fired when the browser is closed. He relies on getting this event so that proper clean-up can be done. The 2nd PR is still open. Based on Jeff Rogers' comment, it doesn't seem like he can come up with a fix any time soon.

nukulb commented 12 years ago

@rwmtse @ishneur - still happening?

ishneur commented 12 years ago

Still happening on 10.0.6.360.

ishneur commented 12 years ago

Also, just opened this issue for battery events: blackberry/BB10-WebWorks-Framework#139