1Check that when the main thread completes with a Daemon thread running 2in native code, the JNI environment is suitably adjusted so that we 3can avoid accessing deleted data structures. 4