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:
parent
9b353ef407
commit
918bd98a2f
1 changed files with 0 additions and 8 deletions
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue