Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
dart_pdf
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Garrett
2022-05-13 12:28:10 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
David PHAM-VAN
2022-05-19 17:59:59 -0300
Commit
c0ea0ed9e596075c7e47320e8c2efdd359ffd0f5
c0ea0ed9
1 parent
6a3d6d3a
Destory pdf document to allow for GC to cleanup the document from memory
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
printing/lib/printing_web.dart
printing/lib/src/pdfjs.dart
printing/lib/printing_web.dart
View file @
c0ea0ed
...
...
@@ -334,6 +334,7 @@ class PrintingPlugin extends PrintingPlatform {
data
.
toBytes
(),
);
}
t
.
destroy
();
}
}
...
...
printing/lib/src/pdfjs.dart
View file @
c0ea0ed
...
...
@@ -43,6 +43,7 @@ class Settings {
@JS
()
class
PdfJsDocLoader
{
external
Future
<
PdfJsDoc
>
get
promise
;
external
Future
<
void
>
destroy
();
}
@anonymous
...
...
Please
register
or
login
to post a comment