Skip to content

Commit

Permalink
Merge pull request #12182 from tamuratak/fix_destroy
Browse files Browse the repository at this point in the history
Fix the type of PDFDocumentLoadingTask.destroy.
  • Loading branch information
timvandermeij authored Aug 7, 2020
2 parents 8c162f5 + 4ac62d8 commit fea4044
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/display/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) {
* {@link UNSUPPORTED_FEATURES} argument.
* @property {Promise<PDFDocumentProxy>} promise - Promise for document loading
* task completion.
* @property {Promise<void>} destroy - Abort all network requests and destroy
* @property {function} destroy - Abort all network requests and destroy
* the worker. Returns a promise that is resolved when destruction is
* completed.
*/
Expand Down

0 comments on commit fea4044

Please sign in to comment.