diff options
| -rw-r--r-- | native/android/choreographer.cpp | 2 |
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(); |