mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-05-13 08:57:27 +00:00
Bug 1410292 - Clear mInputElement after accessing it. r=mconley
MozReview-Commit-ID: BOIIlCvZA1L
This commit is contained in:
parent
551a052a4a
commit
5672a9dc25
@ -1244,8 +1244,6 @@
|
||||
|
||||
<destructor>
|
||||
<![CDATA[
|
||||
this.mInputElement = null;
|
||||
|
||||
this.EVENTS.forEach((eventName) => {
|
||||
this.removeEventListener(eventName, this, { mozSystemGroup: true });
|
||||
});
|
||||
@ -1255,6 +1253,8 @@
|
||||
});
|
||||
this.mInputElement.removeEventListener("click", this,
|
||||
{ mozSystemGroup: true });
|
||||
|
||||
this.mInputElement = null;
|
||||
]]>
|
||||
</destructor>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user