Descriptioncros: doing dbus stuff on the file thread==disaster.
libdbus-glib uses the glib main loop internally. We were making calls on a background thread that wound up telling libdbus-glib to get a connection to the system bus on said background thread. This led to a background thread trying to use the same glib main loop as Chrome's UI thread, and concurrency issues led to crashing. Sadly, there can be only one main loop per process, as I understand it.
This code takes away the attempts to use the background thread. As our interaction with dbus is semantically asynchronous, this seems ok to me.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30135
Patch Set 1 #
Messages
Total messages: 2 (0 generated)
|