title: How to destroy instance of view controller after performing segue
body: <p>I use <strong>performSegueWithIdentifier</strong> to navigate between views controllers</p>
  
  <p>I have a tableView with multiple rows, when a row is actioned, i call a webViewController to play selected ressource with segue</p>
  
  <pre><code>performSegueWithIdentifier("Play", sender: nil)
  </code></pre>
  
  <p>Associate with :</p>
  
  <pre><code>override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
      if(segue.identifier == "Play") {
          let detailVC = segue.destinationViewController as! WebViewController
          detailVC.courseToPlay = self.courseToPlay
      }
  }
  </code></pre>
  
  <p>And, on WebViewController, i've a button to goBack on the list, whose i want to destroy instance of webViewController on goBack</p>
  
  <p>I've not NavigationController in my storyBoard, so, this line doesn't work</p>
  
  <pre><code>navigationController.popViewControllerAnimated(true)
  </code></pre>
  
  <p>I use segue again to goBack : </p>
  
  <pre><code>performSegueWithIdentifier("closePlayer", sender: nil)
  </code></pre>
  
  <p>But each segue action instance a new view controller and they're never really free from memory, they seems to just be hiddens</p>
  
  <p>eg : in Safari debugger i can see a lot of page and i can always interact with these in console</p>
  
  <p>How to properly 'destroy' a view when scene change</p>