aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common.Implementations/HttpServer/HttpServer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Common.Implementations/HttpServer/HttpServer.cs')
-rw-r--r--MediaBrowser.Common.Implementations/HttpServer/HttpServer.cs11
1 files changed, 10 insertions, 1 deletions
diff --git a/MediaBrowser.Common.Implementations/HttpServer/HttpServer.cs b/MediaBrowser.Common.Implementations/HttpServer/HttpServer.cs
index b67236ee9..c0f075c5a 100644
--- a/MediaBrowser.Common.Implementations/HttpServer/HttpServer.cs
+++ b/MediaBrowser.Common.Implementations/HttpServer/HttpServer.cs
@@ -518,7 +518,7 @@ namespace MediaBrowser.Common.Implementations.HttpServer
/// <summary>
/// Class ContainerAdapter
/// </summary>
- class ContainerAdapter : IContainerAdapter
+ class ContainerAdapter : IContainerAdapter, IRelease
{
/// <summary>
/// The _app host
@@ -552,5 +552,14 @@ namespace MediaBrowser.Common.Implementations.HttpServer
{
return _appHost.TryResolve<T>();
}
+
+ /// <summary>
+ /// Releases the specified instance.
+ /// </summary>
+ /// <param name="instance">The instance.</param>
+ public void Release(object instance)
+ {
+ // Leave this empty so SS doesn't try to dispose our objects
+ }
}
} \ No newline at end of file