Ref all cached accessibles before querying them for GetItems
authorMike Gorse <mgorse@novell.com>
Fri, 25 Nov 2011 18:56:37 +0000 (12:56 -0600)
committerMike Gorse <mgorse@novell.com>
Fri, 25 Nov 2011 18:56:37 +0000 (12:56 -0600)
commitad89a912c7dce5cc98598f53090d2c69a2534c3d
tree37440b7d89d461c41fe6b65d1aa52c89a57e2551
parent643e3a52c481454b9c807ef7e53319644275ed26
Ref all cached accessibles before querying them for GetItems

It is possible, at least in theory, that querying one accessible could
have the side effect of another accessible being dereferenced. If this
results in the accessible being finalized, then this would likely cause
a crash when potentially iterating over the newly-finalized object.

Hopefully fixes http://bugzilla.gnome.org/show_bug.cgi?id=664822
atk-adaptor/adaptors/cache-adaptor.c