title: NinjectServiceHost in WCF service does not call Dispose()
body: <p>I've been trying to get the Dispose method on my IDisposable WCF service called whilst using Ninject's NinjectServiceHost without any luck. I've then downloaded the Ninject.extensions.WCF example code and tried to get the IDisposable TimeService's Dispose() method to be called, but it does not get called either.</p>
  
  <p>The service is instantiated correctly, just the Dispose() doesn't get called.</p>
  
  <p>Is this a bug or something that myself and the example code are missing?</p>
  
  <p>I've created a stripped down service and testing host that reproduces the issue. The code is below.</p>
  
  <p>I'm using Ninject 3.0.1.10, Ninject.extensions.WCF 3.0.0.5, .net 4.5</p>
  
  <p>ServiceModule.cs code (for setting up bindings)</p>
  
  <pre><code>using Ninject.Modules;
  
  namespace TestNinjectWcf
  {
     public class ServiceModule : NinjectModule
     {
        public override void Load()
        {
           Bind&lt;Service1&gt;().ToSelf(); 
           // I've also tried Bind&lt;IService1&gt;().To&lt;Service1&gt;()
           // and also tried various scopes such as InParent() and InRequestScope()
        }
     }
  }
  </code></pre>
  
  <p>Console Test Program to start the service.</p>
  
  <pre><code>using System;
  using Ninject.Extensions.Wcf;
  using Ninject;
  using TestNinjectWcf;
  
  namespace TestConsole
  {
     class Program
     {
        static void Main(string[] args)
        {
           var kernel = new StandardKernel(new ServiceModule());
           var service = kernel.Get&lt;NinjectServiceHost&lt;Service1&gt;&gt;();
           service.Open();
           Console.WriteLine("Service Started");
           Console.ReadKey();
           service.Close();
        }
     }
  }
  </code></pre>
  
  <p>Service Implementation</p>
  
  <pre><code>using System;
  using System.Diagnostics;
  using System.ServiceModel;
  
  namespace TestNinjectWcf
  {
     [ServiceBehavior(InstanceContextMode = InstanceContextMode.Single, ConcurrencyMode = ConcurrencyMode.Multiple)]
     public class Service1 : IService1, IDisposable
     {
        public Service1()
        {
           Debug.WriteLine("Constructor");
        }
  
        public string GetData(int value)
        {
           return string.Format("You entered: {0}", value);
        }
  
        public void Dispose()
        {
           Debug.WriteLine("Dispose");  // This line never gets called!
        }
     }
  }
  </code></pre>