From 0d468be861d08831fb157257ab0492a27a4bbc55 Mon Sep 17 00:00:00 2001 From: Nigel Tao Date: Mon, 1 Jun 2015 13:35:56 +1000 Subject: [PATCH] app: fix onInputQueueDestroyed shadowing bug. Change-Id: Ia225c944e76c9ccd3f9ab16d7d13afbcbf41fd16 Reviewed-on: https://go-review.googlesource.com/10560 Reviewed-by: David Symonds --- app/android.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/android.go b/app/android.go index 943a970..1c762a1 100644 --- a/app/android.go +++ b/app/android.go @@ -185,7 +185,7 @@ func onInputQueueCreated(activity *C.ANativeActivity, q *C.AInputQueue) { } //export onInputQueueDestroyed -func onInputQueueDestroyed(activity *C.ANativeActivity, queue *C.AInputQueue) { +func onInputQueueDestroyed(activity *C.ANativeActivity, q *C.AInputQueue) { queue = nil }