March 22, 2026
1:03 p.m.
On Sun Mar 22 12:55:32 2026 +0000, Hans Leidekker wrote:
This connection is used in a single thread so this doesn't appear to be necessary. True, but libdbus [has a couple of global variables](https://dbus.freedesktop.org/doc/api/html/group__DBusThreads.html#details) as well.
Worst case, mountmgr only uses dbus from a single thread, so omitting the thread init is safe, and so does winebth - but if mountmgr and winebth are used simultaneously by different threads, things blow up. I don't know about you, but personally, I would quite prefer not debugging that. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10420#note_133238