title: Closing the app in samsung smart tv
body: <p>I am a beginner to the samsung smart tv app development. I want to close my app on click of exit button. I used the code like this</p>
  
  <pre><code>case tvKey.KEY_EXIT:
      var widgetAPI = new Common.API.Widget(); 
      widgetAPI.sendExitEvent();
      break;
  </code></pre>
  
  <p>It is not closing my app. Can anyone help me to fix this issue</p>