Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
7 changes: 7 additions & 0 deletions src/Wolverine/Runtime/WolverineRuntime.HostService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ public async Task StartAsync(CancellationToken cancellationToken)
// Has to be done before initializing the storage
Handlers.AddMessageHandler(typeof(IAgentCommand), new AgentCommandHandler(this));


if (Options.Durability.DurabilityAgentEnabled)
{
foreach (var store in await _stores.Value.FindAllAsync())
Expand Down Expand Up @@ -175,6 +176,12 @@ public async Task StopAsync(CancellationToken cancellationToken)
return;
}

if (DynamicCodeBuilder.WithinCodegenCommand)
{
// Don't do anything here
return;
}

await _agentCancellation.CancelAsync();

_hasStopped = true;
Expand Down
2 changes: 1 addition & 1 deletion src/Wolverine/Wolverine.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<PackageId>WolverineFx</PackageId>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="JasperFx" Version="1.10.0" />
<PackageReference Include="JasperFx" Version="1.10.1" />
<PackageReference Include="JasperFx.RuntimeCompiler" Version="4.2.0" />
<PackageReference Include="NewId" Version="4.0.1" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
Expand Down
Loading