aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Services/ServiceExec.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2019-03-07 22:32:01 +0100
committerGitHub <noreply@github.com>2019-03-07 22:32:01 +0100
commit669c48cc8bd6b9023d54a38c8e8b7f4120cb7368 (patch)
treee5f05b56f3a5c76d7d03be6fea0eaa15b48dc835 /Emby.Server.Implementations/Services/ServiceExec.cs
parentd1fe24ac92dbe3646494a847d8a92045ddd32f74 (diff)
parent3fa43a1e08a719e65ed38a57b556be0c0edacaef (diff)
Merge pull request #1065 from cvium/closed_response
Don't set status code if response is closed
Diffstat (limited to 'Emby.Server.Implementations/Services/ServiceExec.cs')
-rw-r--r--Emby.Server.Implementations/Services/ServiceExec.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Services/ServiceExec.cs b/Emby.Server.Implementations/Services/ServiceExec.cs
index 79f5c59e6..38952628d 100644
--- a/Emby.Server.Implementations/Services/ServiceExec.cs
+++ b/Emby.Server.Implementations/Services/ServiceExec.cs
@@ -78,7 +78,7 @@ namespace Emby.Server.Implementations.Services
foreach (var requestFilter in actionContext.RequestFilters)
{
requestFilter.RequestFilter(request, request.Response, requestDto);
- if (request.Response.IsClosed)
+ if (request.Response.OriginalResponse.HasStarted)
{
Task.FromResult<object>(null);
}