title: Android - Correct way to override onDestroy()?
body: <p>I see examples of both, so which is the best way to override <code>onDestroy()</code> in an Activity...</p>
  
  <pre><code>@Override
  protected void onDestroy() {
  
      super.onDestroy();
  
      /*
       *  Clean up and stop listeners etc. AFTER calling super.
       */
      myLeakyObject = null;
  }
  </code></pre>
  
  <p>...or...</p>
  
  <pre><code>@Override
  protected void onDestroy() {
  
      /*
       *  Clean up and stop listeners etc. BEFORE calling super.
       */
      myLeakyObject = null;
  
      super.onDestroy();
  
  }
  </code></pre>
  
  <p>...or doesn't it matter?</p>