Should we always call destroy after using? #58
-
|
In these two examples, one call is made and the other is not, so is it necessary? Under what circumstances is it necessary to make the call? |
Beta Was this translation helpful? Give feedback.
Answered by
mehmet-kozan
Nov 27, 2025
Replies: 1 comment
-
|
You must call destroy after finishing your work with the current PDF to prevent memory leaks. After loading a single PDF, you can perform multiple operations. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Diluka
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You must call destroy after finishing your work with the current PDF to prevent memory leaks. After loading a single PDF, you can perform multiple operations.