JNIEnv* getEnv() noexcept { #if JUCE_DEBUG if (! systemInitialised) { DBG ("*** Call to getEnv() when system not initialised"); jassertfalse; std::exit (EXIT_FAILURE); } #endif return threadLocalJNIEnvHolder.getOrAttach(); }
JNIEnv* getEnv() noexcept { #if BEAST_DEBUG if (! systemInitialised) { DBG ("*** Call to getEnv() when system not initialised"); bassertfalse; exit (0); } #endif return threadLocalJNIEnvHolder.getOrAttach(); }