/ go Public
x/mobile: potential gomobile memory leak #59511
Android, iOS, and x/mobile
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
What version of Go are you using (
Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
What did you do?
I use gomobile bind to build shared logic for iOS and Android and it seems that sometimes gomobile doesn't break retain cycles that leads to memory leaks. Probably I use wrong architecture but in any case the behaviour is strange: in one case all created objects was dealloced and in another there was a memory leak.
To reproduce you can check demo project https://github.com/NightBlaze/GomobileDemo
What did you expect to see?
Memory doesn't leak
What did you see instead?
The text was updated successfully, but these errors were encountered: