Committed by
David PHAM-VAN
Destory pdf document to allow for GC to cleanup the document from memory
Showing
2 changed files
with
2 additions
and
0 deletions
@@ -43,6 +43,7 @@ class Settings { | @@ -43,6 +43,7 @@ class Settings { | ||
43 | @JS() | 43 | @JS() |
44 | class PdfJsDocLoader { | 44 | class PdfJsDocLoader { |
45 | external Future<PdfJsDoc> get promise; | 45 | external Future<PdfJsDoc> get promise; |
46 | + external Future<void> destroy(); | ||
46 | } | 47 | } |
47 | 48 | ||
48 | @anonymous | 49 | @anonymous |
-
Please register or login to post a comment