heap mojo: remove exception for credential manager
Reset the HeapMojo objects in OnContextDestroyed instead of waiting for GC. This removes the need to call FlushCredentialManagerConnectionForTesting() as it happens automatically. In the sms handler this changes the behavior on page reload. Previously it was possible to receive a callback after the page reload. Now that the connection is cleaned up as soon as the page is reloaded it is not possible to go fishing for that callback. Bug: 1049056 Change-Id: Ib1b188dadff30e251459a6aa5156fbbd64bc0957 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2331250 Commit-Queue: Johann Koenig <johannkoenig@google.com> Reviewed-by:Kouhei Ueno <kouhei@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Reviewed-by:
Mike West <mkwst@chromium.org> Reviewed-by:
Reilly Grant <reillyg@chromium.org> Cr-Commit-Position: refs/heads/master@{#802154}
Showing
Please register or sign in to comment