3463f94ed9
Consumers of the file may have open file mappings, and those mappings must not see a mix of old and new content as the new file is written. Fixes https://github.com/flutter/flutter/issues/21858 Change-Id: Ia4d6cee53cceaa04bec01a2af56c76fad05dcad8 Reviewed-on: https://dart-review.googlesource.com/75620 Commit-Queue: Alexander Aprelev <aam@google.com> Reviewed-by: Alexander Aprelev <aam@google.com>