summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--native/android/choreographer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/native/android/choreographer.cpp b/native/android/choreographer.cpp
index cc2fd7758787..e35c85b883e8 100644
--- a/native/android/choreographer.cpp
+++ b/native/android/choreographer.cpp
@@ -82,7 +82,7 @@ private:
};
-thread_local Choreographer* gChoreographer;
+static thread_local Choreographer* gChoreographer;
Choreographer* Choreographer::getForThread() {
if (gChoreographer == nullptr) {
sp<Looper> looper = Looper::getForThread();