| 297 | } |
| 298 | |
| 299 | void Runtime::RunWorker(jstring scriptFile) { |
| 300 | // TODO: Pete: Why do I crash here with a JNI error (accessing bad jni) |
| 301 | string filePath = ArgConverter::jstringToString(scriptFile); |
| 302 | auto context = this->GetContext(); |
| 303 | m_module.LoadWorker(context, filePath); |
| 304 | } |
| 305 | |
| 306 | jobject Runtime::RunScript(JNIEnv* _env, jobject obj, jstring scriptFile) { |
| 307 | JEnv env(_env); |
no test coverage detected