mozilla/pdf.js — pull request #5374 by Snuffleupagus (2014-10-01 22:26:12+00:00)
Title: Fix |cleanup| regression in the viewer

Addresses https://github.com/mozilla/pdf.js/issues/2813#issuecomment-57545936 by mimicking the pattern used in https://github.com/mozilla/pdf.js/blob/master/web/thumbnail_view.js#L370.