Skip to content

Commit

Permalink
RecentChanges.cs: disconnect "note deleted" handler on window close
Browse files Browse the repository at this point in the history
Fixes #52.

Signed-off-by: Alex Tereschenko <frozen.and.blue@gmail.com>
  • Loading branch information
alex-ter committed Jul 13, 2017
1 parent d55588f commit 0f1e67a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tomboy/RecentChanges.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1098,7 +1098,7 @@ void OnDeleteNote (object sender, EventArgs args)
void OnCloseWindow (object sender, EventArgs args)
{
// Disconnect external signal handlers to prevent bloweup
manager.NoteDeleted -= OnNotesChanged;
manager.NoteDeleted -= OnNotesDeleted;
manager.NoteAdded -= OnNotesChanged;
manager.NoteRenamed -= OnNoteRenamed;
manager.NoteSaved -= OnNoteSaved;
Expand Down

0 comments on commit 0f1e67a

Please # to comment.