Closed
Bug 948870
Opened 12 years ago
Closed 12 years ago
onpeerready still hooked when app is killed
Categories
(Firefox OS Graveyard :: NFC, defect)
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)
247.61 KB,
image/png
|
Details | |
2.38 KB,
patch
|
allstars.chh
:
review+
|
Details | Diff | Splinter Review |
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
Updated•12 years ago
|
Assignee: nobody → psiddh
Attachment #8358682 -
Flags: review?(allstars.chh)
Blocks: b2g-nfc
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+
Latest try results: https://tbpl.mozilla.org/?tree=Try&rev=5c5e5c1320cf&pusher=psiddh@gmail.com
Keywords: checkin-needed
Comment 7•12 years ago
|
||
Keywords: checkin-needed
Comment 8•12 years ago
|
||
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.
Description
•