Closed Bug 1520773 Opened 5 years ago Closed 5 years ago

Prevent infinite loops in DebuggerClient.close

Categories

(DevTools :: Framework, enhancement, P2)

enhancement

Tracking

(firefox66 fixed)

RESOLVED FIXED
Firefox 66
Tracking Status
firefox66 --- fixed

People

(Reporter: ochameau, Assigned: ochameau)

References

Details

(Whiteboard: dt-fission)

Attachments

(1 file)

Right now, if you call DebuggerClient.close from a listener of its "closed" event, it will do an infinite loop.

Assignee: nobody → poirot.alex
Priority: -- → P2
Whiteboard: dt-fission

If any callback fired by DebuggerClient.close ends up calling close again, it will introduce an infinite loop.

Depends on D15826

Pushed by apoirot@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/909b904600e0
Prevent infinite loops in DebuggerClient.close. r=yulia
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 66
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: