Commit 18bfa7b
committed
fix: Fix a potential NPE Crash due to Mismatched Thread Lifecycle
- the thread creation and recycling was not being handled symmetrically
- this fix is based off of these two PR: DImuthuUpe#824 and mhiew#2
ref: DImuthuUpe@41f912e1 parent 7a97b94 commit 18bfa7b
File tree
1 file changed
+12
-2
lines changed- android-pdf-viewer/src/main/java/com/github/barteksc/pdfviewer
1 file changed
+12
-2
lines changedLines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
248 | | - | |
249 | | - | |
250 | 248 | | |
251 | 249 | | |
252 | 250 | | |
| |||
462 | 460 | | |
463 | 461 | | |
464 | 462 | | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
465 | 471 | | |
466 | 472 | | |
467 | 473 | | |
| |||
753 | 759 | | |
754 | 760 | | |
755 | 761 | | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
756 | 766 | | |
757 | 767 | | |
758 | 768 | | |
| |||
0 commit comments