[ios] Fix crash when tapping done in tab grid
Crash occurs when: 1) hold down done button & close all button 2) release close all 3) release done button (quickly after step 2) The done button's selector is still called since the interaction began before the button was disabled. This CL ensures that the done tap only works if there is a valid active tab. Bug: 836563 Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet Change-Id: I8e98a13a6496c8ed074409d48d61c47c58fcb3d6 Reviewed-on: https://chromium-review.googlesource.com/1114124Reviewed-by:edchin <edchin@chromium.org> Reviewed-by:
Sergio Collazos <sczs@chromium.org> Commit-Queue: edchin <edchin@chromium.org> Cr-Commit-Position: refs/heads/master@{#570236}
Showing
Please register or sign in to comment