title: Why call base.OnStop() when Windows Service is stopped?
body: <p>I'm creating a C#.Net Windows Service and am wondering if you always have to call <code>base.OnStop();</code> in the service's <code>OnStop()</code> method and why?</p>
  
  <pre><code>protected override void OnStop()
  {
      threadRunning = false;
  
      this.ExitCode = 0;
      base.OnStop();
  }
  </code></pre>