projects
/
platform
/
core
/
uifw
/
at-spi2-atk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix deadlock with key event listeners in our own process
[platform/core/uifw/at-spi2-atk.git]
/
atk-adaptor
/
bridge.c
diff --git
a/atk-adaptor/bridge.c
b/atk-adaptor/bridge.c
index
1a36f14
..
e59c834
100644
(file)
--- a/
atk-adaptor/bridge.c
+++ b/
atk-adaptor/bridge.c
@@
-235,6
+235,14
@@
register_reply (DBusPendingCall *pending, void *user_data)
reply = dbus_pending_call_steal_reply (pending);
dbus_pending_call_unref (pending);
reply = dbus_pending_call_steal_reply (pending);
dbus_pending_call_unref (pending);
+
+ if (!spi_global_app_data)
+ {
+ if (reply)
+ dbus_message_unref (reply);
+ return;
+ }
+
if (reply)
{
gchar *app_name, *obj_path;
if (reply)
{
gchar *app_name, *obj_path;