note-obj: Fix a crash on finalize
When finalized, the note is saved only after some timeout, by the time the note-obj shall be finalized. Fix the crash by adding a ref on note.
Also, clear the timeout signal handler on finalize.
/cc @igaldino
When finalized, the note is saved only after some timeout, by the time the note-obj shall be finalized. Fix the crash by adding a ref on note.
Also, clear the timeout signal handler on finalize.
/cc @igaldino