forked from mirrors/gecko-dev
Bug 606295 - Don't attempt to remove the edit action listener from nsPlaintextEditor's dtor; r,a=roc
This commit is contained in:
parent
56b3ca49c7
commit
1191936178
1 changed files with 0 additions and 7 deletions
|
|
@ -109,13 +109,6 @@ nsPlaintextEditor::nsPlaintextEditor()
|
|||
|
||||
nsPlaintextEditor::~nsPlaintextEditor()
|
||||
{
|
||||
// remove the rules as an action listener. Else we get a bad ownership loop
|
||||
// later on. it's ok if the rules aren't a listener; we ignore the error.
|
||||
if (mRules) {
|
||||
nsCOMPtr<nsIEditActionListener> mListener = do_QueryInterface(mRules);
|
||||
RemoveEditActionListener(mListener);
|
||||
}
|
||||
|
||||
// Remove event listeners. Note that if we had an HTML editor,
|
||||
// it installed its own instead of these
|
||||
RemoveEventListeners();
|
||||
|
|
|
|||
Loading…
Reference in a new issue