title: Android JNI - Call AttachCurrentThread without DetachCurrentThread
body: <p>I have been reading about JNI stuff and can't seem to figure out what happens if a thread starts -> calls AttachCurrentThread() -> make some JNI calls -> thread exit.</p>
  
  <p>Ideally, we should call DetachCurrentThread() before thread exits, however, what are the implications if the app doesn't do that? Would it cause memory leak or any other problem?</p>