1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

Remove the deprecated destroy method of the API

This is deprecated since October 2015 with a visible message, so we can
safely remove this now.
This commit is contained in:
Tim van der Meij 2017-10-01 15:04:36 +02:00
parent 9b353ef407
commit 918bd98a2f
No known key found for this signature in database
GPG key ID: 8C3FD2925A5F2762

View file

@ -1063,14 +1063,6 @@ var PDFPageProxy = (function PDFPageProxyClosure() {
return Promise.all(waitOn);
},
/**
* Cleans up resources allocated by the page. (deprecated)
*/
destroy() {
deprecated('page destroy method, use cleanup() instead');
this.cleanup();
},
/**
* Cleans up resources allocated by the page.
*/