Skip to content

Commit a0b536b

Browse files
committed
Make absolutely super sure the window is deleted (some of it stays in memory urg)
1 parent 5bb927e commit a0b536b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Services/NoteManager.vala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,9 @@ public class Jorts.NoteManager : Object {
119119
debug ("[MANAGER] Removing a note…");
120120

121121
open_notes.remove (note);
122+
application.remove_window ((Gtk.Window)note);
122123
note.close ();
124+
note = null;
123125
save_all ();
124126
}
125127

0 commit comments

Comments
 (0)