-
Ken Rockot authored
MockWidgetInputHandler destruction may in some cases spin a RunLoop, which in turn may allow certain Mojo objects to do work that (unsafely) modifies the state of that same MockWidgetInputHandler. To prevent this from happening, this CL explicitly closes the handler's Binding before proceeding with the rest of the handler's destruction. Bug: 872063 Change-Id: I9c40455ac0182fbc435a0c2edfcf707aa18c94c8 Reviewed-on: https://chromium-review.googlesource.com/c/1294712Reviewed-by:
John Abd-El-Malek <jam@chromium.org> Commit-Queue: Ken Rockot <rockot@google.com> Cr-Commit-Position: refs/heads/master@{#601800}
29297bc6