Product: PDFTron
Product Version: 9.3.18
Please give a brief summary of your issue:
How do I completely remove the undo redo manager?
Please describe your issue and provide steps to reproduce it:
We have had several crashes come in with a stack trace telling us “EXC_BAD_ACCESS KERN_INVALID_ADDRESS” and a “TRN_UndoManagerDestroy”. We decided to completely remove the UndoManager using this line of code toolManager.undoRedoManager.isEnabled = false
It seems to potentially lessen this crash, but again we want to to be removed. It is removed from the UI so we are confused on how we are still getting this crash. Is there more we need to do to prevent the UndoManagerDestory from being allocated? We were under the impression that disabling it would prevent any need for memory allocation.
Please provide a link to a minimal sample where the issue is reproducible:
No repo steps but we are disabling the undoRedoManager
but are still seeing this crash… any help would be much appreciated.