mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-09 17:12:31 -06:00
WebUI: Fix memory leak
See #22734, there is a memory leak in the MooTools .destroy(), this replaces all uses of that with the browser native .remove(). This also overrides the MooTools Document.id function, which is used by $(id). The original function always allocates an ID to elements it selects, the override doesn't, and is also a little more efficient. Closes #22734. PR #22754. --------- Co-authored-by: Chocobo1 <Chocobo1@users.noreply.github.com>
This commit is contained in:
@@ -408,6 +408,7 @@
|
||||
<file>private/scripts/localpreferences.js</file>
|
||||
<file>private/scripts/misc.js</file>
|
||||
<file>private/scripts/mocha-init.js</file>
|
||||
<file>private/scripts/monkeypatch.js</file>
|
||||
<file>private/scripts/pathAutofill.js</file>
|
||||
<file>private/scripts/piecesbar.js</file>
|
||||
<file>private/scripts/progressbar.js</file>
|
||||
|
||||
Reference in New Issue
Block a user