Commit c2ebc21
committed
Fix wrong variable in highlight callback cleanup
_setUpdateHighlightFor deletes from this._updateHighlightFor (a method)
instead of this._updateHighlightMap (the actual map). This means
highlight callbacks are never cleaned up when cells are removed,
causing a memory leak. The $FlowFixMe annotation was masking
the type error.1 parent 8bac1df commit c2ebc21
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
433 | 433 | | |
434 | 434 | | |
435 | 435 | | |
436 | | - | |
437 | | - | |
| 436 | + | |
438 | 437 | | |
439 | 438 | | |
440 | 439 | | |
| |||
0 commit comments