Skip to content

Commit

Permalink
[vm/win] Release mappable snapshot once done loading.
Browse files Browse the repository at this point in the history
Bug: flutter/flutter#146375
Bug: #55417
Change-Id: I7523579031091f9e75b2939c570d29338f33e176
TEST=ci, manually
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/361985
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Commit-Queue: Alexander Aprelev <aam@google.com>
  • Loading branch information
aam authored and Commit Queue committed Apr 10, 2024
1 parent 18c0a39 commit 69b801f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions runtime/bin/elf_loader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,8 @@ bool LoadedElf::Load() {
CHECK(ReadSectionStringTable());
CHECK(ReadSections());

mappable_.reset();

return true;
}

Expand Down

0 comments on commit 69b801f

Please sign in to comment.