pyjnius
pyjnius copied to clipboard
pyjnius should use "bound" methods instead of changing j_self
https://github.com/kivy/pyjnius/blob/3371e1012873fe373773c43b556d2796d10d102e/jnius/jnius_export_class.pxi#L815-L822 https://github.com/kivy/pyjnius/blob/3371e1012873fe373773c43b556d2796d10d102e/jnius/jnius_export_class.pxi#L1079-L1087
I suspect the current behaviour may not be thread-safe, but I haven't been able to reproduce #287.