csullivan commented on pull request #6216:
URL: https://github.com/apache/incubator-tvm/pull/6216#issuecomment-669497215


   I'm not an expert on JVM in Android, from what I can tell it is recommended 
against using System.exit in almost cases. It sounds like you are expecting 
System.exit to kill the TVMRPC app (the way a force stop would) but this does 
not seem to be the functionality of System.exit, as exit will resume any paused 
activities left on the activity stack after exiting 
[[ref]](https://proandroiddev.com/a-cautionary-tale-on-android-do-not-call-system-exit-5279e0d5dbe0).
 
   
   Overall, I am not claiming that the use of finish() instead is necessarily 
the correct implementation, but empirically the system is much more stable. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to