if img was null then we always deref on calling _applyDelta
in practice presumably img can't be null, seeing as currently hasContent would then be true, then we always deref on calling this._applyDelta Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com> Change-Id: I48d2466c0a12e4f7084d57a55a963cea469cf2fa
This commit is contained in:
parent
8d5be1286b
commit
c4be02c2b3
1 changed files with 1 additions and 1 deletions
|
@ -7363,7 +7363,7 @@ L.CanvasTileLayer = L.Layer.extend({
|
|||
if (tile.invalidFrom == tile.wireId)
|
||||
window.app.console.debug('Nasty - updated wireId matches old one');
|
||||
|
||||
var hasContent = true;
|
||||
var hasContent = img != null;
|
||||
|
||||
// obscure case: we could have garbage collected the
|
||||
// keyframe content in JS but coolwsd still thinks we have
|
||||
|
|
Loading…
Reference in a new issue