diff --git a/display.js b/display.js index c97f237c66791362a1e86c8b413d39b1c1125dcb..68e0af5efc97ded445d0d3a25b840eefeaafd7c0 100644 --- a/display.js +++ b/display.js @@ -933,6 +933,7 @@ function handle_draw_jpeg_onload() // Give the Garbage collector a clue to recycle this; avoids // fairly massive memory leaks during video playback + this.onload = undefined; this.src = EMPTY_GIF_IMAGE; if (this.o.descriptor &&