Skip to content

Commit

Permalink
Revert issue causing CI tests to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed May 26, 2016
1 parent 4d6cdf4 commit 09d19a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ServiceStack/Host/ServiceController.cs
Expand Up @@ -338,7 +338,7 @@ public void ResetServiceExecCachesIfNeeded(Type serviceType, Type requestType)
if (!serviceExecCache.TryGetValue(serviceType, out requestTypes))
{
var mi = typeof(ServiceExec<>)
.GetCachedGenericType(serviceType)
.MakeGenericType(serviceType)
.GetMethod("Reset", BindingFlags.Public | BindingFlags.Static);

mi.Invoke(null, new object[] { });
Expand All @@ -349,7 +349,7 @@ public void ResetServiceExecCachesIfNeeded(Type serviceType, Type requestType)
if (!requestTypes.Contains(requestType))
{
var mi = typeof(ServiceExec<>)
.GetCachedGenericType(serviceType)
.MakeGenericType(serviceType)
.GetMethod("CreateServiceRunnersFor", BindingFlags.Public | BindingFlags.Static)
.MakeGenericMethod(requestType);

Expand Down

0 comments on commit 09d19a8

Please sign in to comment.