Fix assertion failure when removing a note plugin while a session is weak-refed
Fix assertion failure when removing a note plugin while a session is weak-refed

tyll/libinfinity,gobby/libinfinity,gobby/libinfinity,tyll/libinfinity,tyll/libinfinity,gobby/libinfinity