Closed Bug 948870 Opened 12 years ago Closed 12 years ago

onpeerready still hooked when app is killed

Categories

(Firefox OS Graveyard :: NFC, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
1.3 C3/1.4 S3(31jan)

People

(Reporter: johnhu, Assigned: psiddh)

References

Details

Attachments

(2 files, 1 obsolete file)

When an app puts onpeerready callback and is killed, the system app can still show shrink UI on home screen. After some investigation, the system app can still find onpeerready callback through API call.
Hi, I will look into this. It looks like an issue with the code. Application ID should be cleared off when that particular application gets killed. Thanks
Assignee: nobody → psiddh
Attachment #8358682 - Flags: review?(allstars.chh)
Comment on attachment 8358682 [details] [diff] [review] (v1) Bug 948870 : Remove AppID from registered list when killed r=allstars.chh Review of attachment 8358682 [details] [diff] [review]: ----------------------------------------------------------------- Can't we reuse peerTargetMap to find out the appId?
Attachment #8358682 - Flags: review?(allstars.chh) → review-
Yes, I think we can reuse peerTargetMap, using Object.keys. Wonders of JS dictionary type objects :) Will upload another patch
Attachment #8358682 - Attachment is obsolete: true
Attachment #8360144 - Flags: review?(allstars.chh)
Attachment #8360144 - Flags: review?(allstars.chh) → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.3 C3/1.4 S3(31jan)
Actually I found the root cause if Bug 996522. And the patch landed in this bug doesn't work, file Bug 1003775 for this.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: