Skip to content

Commit

Permalink
Merge pull request #33 from dpritos/fix-resized-on-destroy-error
Browse files Browse the repository at this point in the history
set pdfViewer to null when component gets distoryed
  • Loading branch information
arkokoley authored Oct 23, 2019
2 parents 17f3c87 + faa89b7 commit 80d7964
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Pdfvuer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ export default {
var self = this;
if (self.pdfViewer) {
self.pdfViewer.destroy();
self.pdfViewer = null;
}
}
}
Expand Down

0 comments on commit 80d7964

Please sign in to comment.