[orca] Handle yet another Atspi "The process appears to be hung" exception



commit 76bd6669ebfa5ee45551ad18fc15fcd7a97d1b27
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Sat Apr 29 11:38:17 2017 -0400

    Handle yet another Atspi "The process appears to be hung" exception

 src/orca/script_utilities.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/script_utilities.py b/src/orca/script_utilities.py
index 5a5e36a..8835a49 100644
--- a/src/orca/script_utilities.py
+++ b/src/orca/script_utilities.py
@@ -3634,7 +3634,7 @@ class Utilities:
         return obj.getRole() not in roles
 
     def _treatAsLeafNode(self, obj):
-        if not obj:
+        if not obj or self.isDead(obj):
             return False
 
         if not obj.childCount:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]