Call initRuntimeIfNeeded before EnterFrame in interop adapters. (#4672)
This commit is contained in:
committed by
Vasily Levchenko
parent
99dc9e8e0c
commit
f312315346
@@ -189,7 +189,7 @@ void AppendToInitializersTail(InitNode *next) {
|
||||
initTailNode = next;
|
||||
}
|
||||
|
||||
void Kotlin_initRuntimeIfNeeded() {
|
||||
RUNTIME_NOTHROW void Kotlin_initRuntimeIfNeeded() {
|
||||
if (!isValidRuntime()) {
|
||||
initRuntime();
|
||||
// Register runtime deinit function at thread cleanup.
|
||||
|
||||
Reference in New Issue
Block a user