Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Dispose FileStream
  • Loading branch information
Mateo Torres Ruiz committed Jul 12, 2021
commit 5757193f6c67b05423e9cdbb7992c797c5840867
2 changes: 1 addition & 1 deletion src/installer/tests/HostActivation.Tests/DotNetBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ public DotNetBuilder AddMockSDK(
string path = Path.Combine(_path, "sdk", version);
Directory.CreateDirectory(path);

File.Create(Path.Combine(path, "dotnet.dll"));
using var _ = File.Create(Path.Combine(path, "dotnet.dll"));

RuntimeConfig dotnetRuntimeConfig = new RuntimeConfig(Path.Combine(path, "dotnet.runtimeconfig.json"));
dotnetRuntimeConfig.WithFramework(new RuntimeConfig.Framework("Microsoft.NETCore.App", MNAVersion));
Expand Down
6 changes: 3 additions & 3 deletions src/native/corehost/fxr/fx_muxer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ int fx_muxer_t::execute(
argv,
new_argoff,
mode,
false,
false /*is_sdk_command*/,
result_buffer,
buffer_size,
required_buffer_size);
Expand Down Expand Up @@ -740,7 +740,7 @@ int fx_muxer_t::initialize_for_app(
host_info.app_path,
opts,
mode,
false,
false /*is_sdk_command*/,
hostpolicy_dir,
init);
if (rc != StatusCode::Success)
Expand Down Expand Up @@ -1114,7 +1114,7 @@ int fx_muxer_t::handle_cli(
new_argv.data(),
new_argoff,
host_mode_t::muxer,
true,
true /*is_sdk_command*/,
nullptr /*result_buffer*/,
0 /*buffer_size*/,
nullptr/*required_buffer_size*/);
Expand Down