commit | 2ffbb18053b286a81c5b89a72e4dee3d0ab4dc45 | [log] [tgz] |
---|---|---|
author | Andreas Huber <andih@google.com> | Wed Jan 26 11:19:19 2011 -0800 |
committer | Andreas Huber <andih@google.com> | Wed Jan 26 11:20:42 2011 -0800 |
tree | 9da056daa04cea797a7855d8070011fa72ec37e7 | |
parent | ff3b3ade7fa1da60d391d1a746cdc0868c24f4bf [diff] |
Protect notification callback parameters with a mutex. This avoids the race condition where notifications are dispatched to a NULL receiver after notifications have been disabled. Change-Id: I6d351ffbee97616e2c35559c132a6c5e6a66948a related-to-bug: 3394139