summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2017-04-07 12:52:17 -0700
committerYifan Hong <elsk@google.com>2017-04-11 04:49:11 +0000
commit957aa852bb9bd7a70cc4f7f553d4945f3f8da23c (patch)
tree3a85742b54596ff0f8e929b357c21d1f61ac9b03 /opengl/tests/gl_basic/gl_basic.cpp
parent8385d60c694cbdbe16053cbb9403106a2ccfa15b (diff)
Prevent runtime restart for crashed clients to framework sensorservice.
This only happens when the client dies, in which case the event queue reference will be dropped on the client side, so the call to handleEvent won't even be fired, except for a race condition. The race condition is, if handleEvent is already fired, then client dies and the event queue is going to be destroyed and the fd is going to be removed, but before that the call onEvent fails. Test: clients of SensorManager that uses event queue no longer crashes. Bug: 35219747 Change-Id: Ibdf062528a219fae65ee6263ed742229ec3cd0d6
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions