properly flush dbus connection after send

This commit is contained in:
▟ ▖▟ ▖ 2015-04-02 01:10:45 +02:00 committed by Uli Schlachter
parent 33d4100ea0
commit 8557a7e0e4
1 changed files with 1 additions and 0 deletions

1
dbus.c
View File

@ -847,6 +847,7 @@ luaA_dbus_emit_signal(lua_State *L)
}
dbus_connection_send(dbus_connection, msg, NULL);
dbus_message_unref(msg);
dbus_connection_flush(dbus_connection);
lua_pushboolean(L, 1);
return 1;
}