mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 21:10:32 +01:00
[PR #145] [MERGED] Cancellation token not passed to server instance in .NET Core 2 #777
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/wiremock/WireMock.Net/pull/145
Author: @Bob11327
Created: 5/28/2018
Status: ✅ Merged
Merged: 5/28/2018
Merged by: @StefH
Base:
master← Head:master📝 Commits (1)
c88735eFix code for .NET Core 2 so that server has cancellation token, and Stop method waits for shutdown. This resolves issues when using .NET Core 2 and starting/stopping server instances.📊 Changes
2 files changed (+4 additions, -2 deletions)
View changed files
📝
src/WireMock.Net/Owin/AspNetCoreSelfHost.cs(+1 -1)📝
src/WireMock.Net/Server/FluentMockServer.cs(+3 -1)📄 Description
Fix code for .NET Core 2 so that server has cancellation token, and Stop method waits for shutdown. This resolves issues when using .NET Core 2 and starting/stopping server instances.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.