properly flush dbus connection after send
This commit is contained in:
parent
33d4100ea0
commit
8557a7e0e4
1
dbus.c
1
dbus.c
|
@ -847,6 +847,7 @@ luaA_dbus_emit_signal(lua_State *L)
|
||||||
}
|
}
|
||||||
dbus_connection_send(dbus_connection, msg, NULL);
|
dbus_connection_send(dbus_connection, msg, NULL);
|
||||||
dbus_message_unref(msg);
|
dbus_message_unref(msg);
|
||||||
|
dbus_connection_flush(dbus_connection);
|
||||||
lua_pushboolean(L, 1);
|
lua_pushboolean(L, 1);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue