Merge pull request #10228 from Filoppi/fix_android_input_deadlock ControllerInterface: fix UpdateReferences() deadlock