Refactor the print preview listener code to make its purpose clear
Categories
(Core :: Printing: Setup, defect, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox68 | --- | fixed |
People
(Reporter: jwatt, Assigned: jwatt)
Details
Attachments
(1 file)
| Assignee | ||
Comment 1•7 years ago
|
||
| Assignee | ||
Comment 3•7 years ago
|
||
I changed this prior to landing to require explicit removal of the listeners since otherwise we leak. See the comment for the added function StopSuppressing(). As a result I also removed the "Auto" from the name of the new class. needinfo to make sure you're aware of those changes.
Comment 4•7 years ago
|
||
| bugherder | ||
Comment 5•7 years ago
|
||
(In reply to Jonathan Watt [:jwatt] from comment #3)
I changed this prior to landing to require explicit removal of the listeners since otherwise we leak. See the comment for the added function StopSuppressing(). As a result I also removed the "Auto" from the name of the new class. needinfo to make sure you're aware of those changes.
OK thanks, I thought you were handling the release and RemoveListeners through the destructor.
| Assignee | ||
Comment 6•7 years ago
|
||
(In reply to Bob Owen (:bobowen) from comment #5)
OK thanks, I thought you were handling the release and RemoveListeners through the destructor.
As noted in comment 3, the comment documenting StopSuppressing() explains why I had to change that. :) I believe from our conversation on IRC that everything makes sense now.
Description
•