[orca/gnome-3-24] Handle yet another Atspi "The process appears to be hung" exception



commit ea02cc2d268348c22ffe8c23099f6b023d4c90a7
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 aa01bed..09b35e9 100644
--- a/src/orca/script_utilities.py
+++ b/src/orca/script_utilities.py
@@ -3651,7 +3651,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]