title: How to quit game in cocos2d-x with jsb
body: <p>In my Game , I call the following code to quit game ,but it appeared a black screen. </p>
  
  <p>javascript:</p>
  
  <pre><code> cc.Director.getInstance().end();
  </code></pre>