fix memory leak
This commit is contained in:
parent
b049952155
commit
e45f0567d7
|
@ -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){
|
||||
|
|
Loading…
Reference in New Issue