fix memory leak
This commit is contained in:
parent
b049952155
commit
e45f0567d7
|
@ -48,8 +48,8 @@ public class Tootle.NotificationWidget : Gtk.Grid {
|
||||||
}
|
}
|
||||||
|
|
||||||
destroy.connect (() => {
|
destroy.connect (() => {
|
||||||
if(separator != null)
|
separator = null;
|
||||||
separator.destroy ();
|
status_widget = null;
|
||||||
});
|
});
|
||||||
|
|
||||||
if (notification.status != null){
|
if (notification.status != null){
|
||||||
|
|
Loading…
Reference in New Issue