mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-19 22:35:17 +03:00
FIx memory leak on model rendering
This commit is contained in:
parent
074bb46f78
commit
b324efca9b
4 changed files with 8 additions and 0 deletions
|
@ -1729,6 +1729,7 @@ TABS.pid_tuning.cleanup = function (callback) {
|
|||
|
||||
if (self.model) {
|
||||
$(window).off('resize', $.proxy(self.model.resize, self.model));
|
||||
self.model.dispose();
|
||||
}
|
||||
|
||||
$(window).off('resize', $.proxy(this.updateRatesLabels, this));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue