[orca] Explicitly deregister keystroke listeners before shutting down



commit 5361f6e7d0ecc5081ab95a283204aa2e8e6c7561
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Thu Sep 10 22:02:33 2015 -0400

    Explicitly deregister keystroke listeners before shutting down

 src/orca/orca.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/orca.py b/src/orca/orca.py
index 2238939..f931a45 100644
--- a/src/orca/orca.py
+++ b/src/orca/orca.py
@@ -696,6 +696,8 @@ def shutdown(script=None, inputEvent=None):
     orca_state.activeScript.presentMessage(messages.STOP_ORCA)
 
     _scriptManager.deactivate()
+
+    _eventManager.deregisterKeystrokeListener(_processKeyboardEvent)
     _eventManager.deactivate()
 
     # Shutdown all the other support.


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