title: UIWebView not loading a new url
body: <p>Everytime I try to load another URL on a UIWebView i get the same error: </p>
  
  <blockquote>
    <p>SendDelegateMessage(NSInvocation *): delegate (webView:decidePolicyForNavigationAction:request:frame:decisionListener:) failed to return after waiting 10 seconds.</p>
  </blockquote>
  
  <p>My code about the webView is like:</p>
  
  <pre><code>@IBAction func changeUrl(sender: UIButton) {
      if LEDON {
          let urlStr = NSString(format: "%@/?Led=0", self.url)
          let req = URLRequest(url: URL(string: urlStr as String)!)
          webView.loadRequest(req)
          while(webView.isLoading) {
              sender.isEnabled = false
          }
          sender.isEnabled = true
          LEDON = false;
      } else {
          let urlStr = NSString(format: "%@/?Led=1", self.url)
          let req = URLRequest(url: URL(string: urlStr as String)!)
          webView.loadRequest(req)
          while(webView.isLoading) {
             sender.isEnabled = false
          }
          sender.isEnabled = true
          LEDON = true;
      }
  }
  </code></pre>
  
  <p>If I press the UIButton the first time the code works perfectly, but when I tap it again I get that error. 
  Where am I doing wrong?</p>
  
  <p>"url" variable in the code is a global var and I already check that is correct.</p>