I have some code, that compiled to aar
file via gomobile bind -target=android
package counter
var Count = 0
func Increment() {
Count++
}
In Java this code looks like abstact
class with getCount
and increment
methods.
I want to know, how to kill thread created by Go bindings?
I seeing threads via adb shell
and ps -T -p [pid]
command. Go thread called GoRefQueue Finalizer Thread