mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-04-05 21:01:35 +08:00
Update ContextState.cs
This commit is contained in:
parent
d010e97b9d
commit
39a01f9103
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user