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
asaarnak
2023-03-23 23:01:47 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
David PHAM-VAN
2023-03-27 16:51:10 -0300
Commit
2b9e8b7cfef5e0bb4f8259535b88f9ea4a03f593
2b9e8b7c
1 parent
05f44241
fix #1307 setState() called after dispose()
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
printing/lib/src/preview/pdf_preview.dart
printing/lib/src/preview/pdf_preview.dart
View file @
2b9e8b7
...
...
@@ -306,6 +306,9 @@ class PdfPreviewState extends State<PdfPreview> {
if
(!
infoLoaded
)
{
infoLoaded
=
true
;
Printing
.
info
().
then
((
PrintingInfo
printingInfo
)
{
if
(!
mounted
)
{
return
;
}
setState
(()
{
info
=
printingInfo
;
});
...
...
Please
register
or
login
to post a comment