title: How to remove previous pages from memory?
body: <p>I'm using an implementation of Master/Detail in my Forms app. The problem is that even after I change pages the previous one is still running, I even had to do some inactive/isActive code in order to stop the code execution of those pages.</p>
  
  <p>This is how I change pages:</p>
  
  <pre><code>        public void GoTo(Page page)
          {
              Detail = new NavigationPage(page);
              IsPresented = false;
              UserDialogs.Instance.HideLoading();
          }
  </code></pre>
  
  <p>Then I do:</p>
  
  <p><code>Application.Current.HomePage.GoTo(new ServiceSelectionPage());</code></p>
  
  <p>But the previous page is kept running. What am I doing wrong? Or how do I remove those pages from memory? I tried setting <code>Detail = null</code> to no avail.</p>
  
  <p>Thanks! </p>