From f945481c2e8a9e0b952471acfdbc3fe4fc288148 Mon Sep 17 00:00:00 2001 From: shw Date: Mon, 22 May 2017 21:21:40 +0000 Subject: [PATCH] Should solve a (newly introduced) intermittent crash issue with fw-settings. --- fw-settings/dbus.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fw-settings/dbus.go b/fw-settings/dbus.go index 9f07830..102dc3c 100644 --- a/fw-settings/dbus.go +++ b/fw-settings/dbus.go @@ -5,6 +5,7 @@ import ( "fmt" "github.com/subgraph/fw-daemon/sgfw" "github.com/godbus/dbus" + "github.com/gotk3/gotk3/glib" ) @@ -108,7 +109,7 @@ func newDbusServer() (*dbusServer, error) { func (ds *dbusServer) Alert(data string) *dbus.Error { fmt.Println("Received Dbus update alert: ", data) - repopulateWin() + glib.IdleAdd(repopulateWin) return nil }