fix memory leak

This commit is contained in:
martensitingale 2018-06-22 17:44:46 +00:00
parent b049952155
commit e45f0567d7
1 changed files with 2 additions and 2 deletions

View File

@ -48,8 +48,8 @@ public class Tootle.NotificationWidget : Gtk.Grid {
}
destroy.connect (() => {
if(separator != null)
separator.destroy ();
separator = null;
status_widget = null;
});
if (notification.status != null){