Skip to content

Commit

Permalink
Merge pull request #50580 from dotnet-maestro-bot/merge/release/8.0-t…
Browse files Browse the repository at this point in the history
…o-main

[automated] Merge branch 'release/8.0' => 'main'
  • Loading branch information
BrennanConroy authored Sep 8, 2023
2 parents 0f08bd3 + 57bf8d9 commit ddabebf
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 14 deletions.
4 changes: 2 additions & 2 deletions eng/Version.Details.xml
Original file line number Diff line number Diff line change
Expand Up @@ -329,9 +329,9 @@
<Sha>9a1c3e1b7f0c8763d4c96e593961a61a72679a7b</Sha>
<SourceBuild RepoName="xdt" ManagedOnly="true" />
</Dependency>
<Dependency Name="Microsoft.SourceBuild.Intermediate.source-build-reference-packages" Version="8.0.0-alpha.1.23455.3">
<Dependency Name="Microsoft.SourceBuild.Intermediate.source-build-reference-packages" Version="8.0.0-alpha.1.23457.1">
<Uri>https://github.com/dotnet/source-build-reference-packages</Uri>
<Sha>75ec14a961f43446d952c64b5b3330df750db54f</Sha>
<Sha>18302345498a62222dd3c236b3d1d140dbaed43d</Sha>
<SourceBuild RepoName="source-build-reference-packages" ManagedOnly="true" />
</Dependency>
<!-- Not updated automatically -->
Expand Down
14 changes: 7 additions & 7 deletions eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
<!-- Packages from dotnet/source-build-externals -->
<MicrosoftSourceBuildIntermediatesourcebuildexternalsVersion>8.0.0-alpha.1.23456.1</MicrosoftSourceBuildIntermediatesourcebuildexternalsVersion>
<!-- Packages from dotnet/source-build-reference-packages -->
<MicrosoftSourceBuildIntermediatesourcebuildreferencepackagesVersion>8.0.0-alpha.1.23455.3</MicrosoftSourceBuildIntermediatesourcebuildreferencepackagesVersion>
<MicrosoftSourceBuildIntermediatesourcebuildreferencepackagesVersion>8.0.0-alpha.1.23457.1</MicrosoftSourceBuildIntermediatesourcebuildreferencepackagesVersion>
<!-- Packages from dotnet/symreader -->
<MicrosoftSourceBuildIntermediatesymreaderVersion>2.1.0-beta.23409.1</MicrosoftSourceBuildIntermediatesymreaderVersion>
<!-- Packages from dotnet/runtime -->
Expand Down Expand Up @@ -288,12 +288,12 @@
<CommandLineParserVersion>2.3.0</CommandLineParserVersion>
<FSharpCoreVersion>6.0.0</FSharpCoreVersion>
<GoogleApiCommonProtosVersion>2.5.0</GoogleApiCommonProtosVersion>
<GoogleProtobufVersion>3.22.0</GoogleProtobufVersion>
<GrpcAspNetCoreVersion>2.52.0</GrpcAspNetCoreVersion>
<GrpcAspNetCoreServerVersion>2.52.0</GrpcAspNetCoreServerVersion>
<GrpcAuthVersion>2.52.0</GrpcAuthVersion>
<GrpcNetClientVersion>2.52.0</GrpcNetClientVersion>
<GrpcToolsVersion>2.52.0</GrpcToolsVersion>
<GoogleProtobufVersion>3.23.1</GoogleProtobufVersion>
<GrpcAspNetCoreVersion>2.57.0</GrpcAspNetCoreVersion>
<GrpcAspNetCoreServerVersion>2.57.0</GrpcAspNetCoreServerVersion>
<GrpcAuthVersion>2.57.0</GrpcAuthVersion>
<GrpcNetClientVersion>2.57.0</GrpcNetClientVersion>
<GrpcToolsVersion>2.57.0</GrpcToolsVersion>
<MessagePackVersion>2.5.108</MessagePackVersion>
<MicrosoftIdentityWebVersion>2.13.0</MicrosoftIdentityWebVersion>
<MicrosoftIdentityWebGraphServiceClientVersion>2.13.0</MicrosoftIdentityWebGraphServiceClientVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,17 +175,20 @@ APPLICATION_MANAGER::RecycleApplicationFromManager(
}
}
}

// Remove apps after calling shutdown on each of them
// This is exclusive to in-process, as the shutdown of an in-process app recycles
// the entire worker process.
if (m_handlerResolver.GetHostingModel() == APP_HOSTING_MODEL::HOSTING_IN_PROCESS)
{
SRWExclusiveLock lock(m_srwLock);
const std::wstring configurationPath = pszApplicationId;

// Remove apps after calling shutdown on each of them
// This is exclusive to in-process, as the shutdown of an inprocess app recycles
// the entire worker process.
auto itr = m_pApplicationInfoHash.begin();
while (itr != m_pApplicationInfoHash.end())
{
if (itr->second != nullptr && itr->second->ConfigurationPathApplies(configurationPath))
if (itr->second != nullptr && itr->second->ConfigurationPathApplies(configurationPath)
&& std::find(applicationsToRecycle.begin(), applicationsToRecycle.end(), itr->second) != applicationsToRecycle.end())
{
itr = m_pApplicationInfoHash.erase(itr);
}
Expand All @@ -194,7 +197,7 @@ APPLICATION_MANAGER::RecycleApplicationFromManager(
++itr;
}
}
}
} // Release Exclusive m_srwLock
}
CATCH_RETURN()

Expand Down

0 comments on commit ddabebf

Please sign in to comment.