Make sure Scheduler::GetCurrent() cannot return a nullptr (#2887)

This commit is contained in:
Bart Louwers
2024-10-04 12:47:58 +02:00
committed by GitHub
parent 0ecd218617
commit 4d7d5f50cf
5 changed files with 15 additions and 5 deletions

View File

@@ -68,8 +68,6 @@ void registerNatives(JavaVM* vm) {
jni::JNIEnv& env = jni::GetEnv(*vm, jni::jni_version_1_6);
// For the FileSource
static mbgl::util::RunLoop mainRunLoop;
FileSource::registerNative(env);
// Basic types