diff options
author | Ruben Rodriguez <ruben@gnu.org> | 2015-07-09 14:03:09 -0500 |
---|---|---|
committer | Ruben Rodriguez <ruben@gnu.org> | 2015-10-12 23:19:26 -0500 |
commit | 6a6d63d8f2e6e04644fcf93d9937508af6eefff2 (patch) | |
tree | 85592e68d874a1a20115eedcdd92bd18ae66aa74 /data/patches/gnuzilla-bug-1055166.patch | |
parent | 4d18722d200805d5e56e8cd1dcfac61451f4f4f0 (diff) |
Initial adaptation to v38.x
Diffstat (limited to 'data/patches/gnuzilla-bug-1055166.patch')
-rw-r--r-- | data/patches/gnuzilla-bug-1055166.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/data/patches/gnuzilla-bug-1055166.patch b/data/patches/gnuzilla-bug-1055166.patch deleted file mode 100644 index 51b8ee5..0000000 --- a/data/patches/gnuzilla-bug-1055166.patch +++ /dev/null @@ -1,33 +0,0 @@ -From: James Willcox <snorp@snorp.net> -Bug 1055166 - Catch IllegalStateException when recycling Message - - - -diff --git a/mobile/android/base/GeckoAppShell.java b/mobile/android/base/GeckoAppShell.java -index b06547f8c8135542d27713bb8e4c5d0e7496bb17..a50538e1b3449d3767ad78ed3fb8e596bc1acfbb 100644 ---- a/mobile/android/base/GeckoAppShell.java -+++ b/mobile/android/base/GeckoAppShell.java -@@ -2478,17 +2478,22 @@ public class GeckoAppShell - // Our "queue is empty" message; see runGecko() - msg.recycle(); - return false; - } - if (msg.getTarget() == null) - Looper.myLooper().quit(); - else - msg.getTarget().dispatchMessage(msg); -- msg.recycle(); -+ -+ try { -+ msg.recycle(); -+ } catch (IllegalStateException e) { -+ // There is nothing we can do here so just eat it -+ } - return true; - } - - @WrapElementForJNI - public static void notifyWakeLockChanged(String topic, String state) { - if (getGeckoInterface() != null) - getGeckoInterface().notifyWakeLockChanged(topic, state); - } |