Skip to content

Commit 26c612f

Browse files
authored
Remove the file after reading
1 parent 01ee436 commit 26c612f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

loader/src/platform/ios/LoaderImpl.mm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
log::debug("Reading launch arguments from {}", launchArgsFile.string());
7676
auto content = file::readString(launchArgsFile);
7777
if (content.isOk()) {
78+
std::filesystem::remove(launchArgsFile);
7879
return content.unwrap();
7980
}
8081
}
@@ -109,4 +110,4 @@
109110

110111
bool Loader::Impl::isForwardCompatMode() {
111112
return false;
112-
}
113+
}

0 commit comments

Comments
 (0)