Closed
Bug 1216555
Opened 10 years ago
Closed 10 years ago
client.close fails to call its callback if the connection is already closed
Categories
(DevTools :: Framework, defect)
DevTools
Framework
Tracking
(firefox44 fixed)
RESOLVED
FIXED
Firefox 44
| Tracking | Status | |
|---|---|---|
| firefox44 | --- | fixed |
People
(Reporter: ochameau, Assigned: ochameau)
References
Details
Attachments
(1 file)
|
4.00 KB,
patch
|
jryans
:
review+
|
Details | Diff | Splinter Review |
If the transport closes (typically when the device is unplugged), and we then try to call client.close(callback), the callback is most likely *not* going to be called. We typically end up with broken toolbox in WebIDE...
This patch is based on top of bug 1216554, that allows to know if client is already closed or not.
| Assignee | ||
Comment 1•10 years ago
|
||
With a test.
| Assignee | ||
Updated•10 years ago
|
Attachment #8676271 -
Flags: review?(jryans)
Attachment #8676271 -
Flags: review?(jryans) → review+
| Assignee | ||
Comment 2•10 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/727c6dc124c784d26db6d17879af243cbce016b9
Bug 1216555 - Makes client.close() failsafe by handling correctly closing connections. r=jryans
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox44:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 44
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•