Unverified Commit d401ac00 authored by JS Deck's avatar JS Deck Committed by GitHub

Queue close from windows animation callback instead of calling it directly; fix…

Queue close from windows animation callback instead of calling it directly; fix null pointer (double cleanup) in certain scenarios (#649)
parent f1c5e6c0
......@@ -263,7 +263,9 @@ namespace SwayNotificationCenter {
|| !get_mapped ()
|| !(get_child () is Gtk.Widget)
|| list.is_empty ())) {
close ();
Idle.add_once (() => {
close ();
});
return;
}
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment