godbus / dbus

Native Go bindings for D-Bus
BSD 2-Clause "Simplified" License
976 stars 225 forks source link

Prevent client code accessing defaultHandler mutex #382

Open kortschak opened 6 months ago

kortschak commented 6 months ago

The embedding of the mutex allows client code to call all the methods on it. This should probably not be allowed, so unembed as an unexported field.