refactor: destroy_note(...)
optimization
#7103
Merged
destroy_note(...)
optimization
#7103