Update ContextState.cs

This commit is contained in:
jtkech 2016-02-27 22:20:32 +01:00
parent d010e97b9d
commit 39a01f9103

View File

@ -1,5 +1,4 @@
using System;
using System.Runtime.Remoting;
using System.Runtime.Remoting.Messaging;
using System.Web;
using Orchard.Mvc.Extensions;
@ -52,5 +51,12 @@ namespace Orchard.Environment.State {
HttpContext.Current.Items[_name] = state;
}
}
internal class ObjectHandle : System.Runtime.Remoting.ObjectHandle {
public ObjectHandle(object o) : base(o) { }
public override object InitializeLifetimeService() {
return null;
}
}
}
}