xiabin
xiabin
you can check this pull request https://github.com/guelfey/go.dbus/pull/34 It will support d-feet perfectly. And is good at this moment. this commit will handle this problem https://github.com/snyh/go.dbus/commit/a1afa9625a84767e29ad980adde858e3714e0d1e
seems like even invoke inWoker later manually still cause this problem. because the SessionBus()/SystemBus() will invoke conn.Hello() or the name acquire dbus message which rely on inWoker is invoked.
I workaround this by https://github.com/linuxdeepin/go-lib/commit/514c14fad3d315379105fb6fe5af439bbf64c9b4 use DBUS_STARTER_BUS_TYPE env to detect wehter this program is launched by dbus-daemon. Then use an unhandledMsgs map[string][]*Message (inside Conn) to store unhandled type=method_call message, and...
+1 encountered the same problem and resolved by #62