@shopify/react-native-skia 2.3.13 → 2.3.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -204,8 +204,10 @@ void JniPlatformContext::runTaskOnMainThread(std::function<void()> task) {
|
|
|
204
204
|
}
|
|
205
205
|
|
|
206
206
|
void JniPlatformContext::notifyTaskReadyExternal() {
|
|
207
|
+
jni::ThreadScope ts;
|
|
208
|
+
|
|
207
209
|
static auto method =
|
|
208
|
-
|
|
210
|
+
javaPart_->getClass()->getMethod<void()>("notifyTaskReady");
|
|
209
211
|
method(javaPart_.get());
|
|
210
212
|
}
|
|
211
213
|
|