HCL-TECH-SOFTWARE / domino-jnx

Modern Domino Java API based on JNA access to Domino's C API
https://opensource.hcltechsw.com/domino-jnx/
Apache License 2.0
13 stars 3 forks source link

Modify Document#delete to close the note first #419

Closed jesse-gallagher closed 5 months ago

jesse-gallagher commented 5 months ago

It appears that calling NSFNoteClose after deleting the underlying note can cause trouble with phantom design entries, and this doesn't happen when closing the note first. I can't really think of a case where you'd want the in-memory handle open after deleting the note, it'll be best to always close it first.