[FSA] Destroy FileWriter on Close() or Abort()
Simplifies the lifetime of file writers. Previously, if the mojo pipe outlived the usefulness of the writer (i.e. after the writer had been either closed or aborted), the object would hang around until the pipe closed. Now, the writer is destroyed (and the mojo pipe closed) when the writer is closed or aborted. Bug: N/A Change-Id: I69efecba1fe8d6c94f778defa6f0eaf91d088fc6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2595905 Commit-Queue: Austin Sullivan <asully@chromium.org> Reviewed-by:Marijn Kruisselbrink <mek@chromium.org> Reviewed-by:
Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#841513}
Showing
This diff is collapsed.
Please register or sign in to comment