File tree Expand file tree Collapse file tree 2 files changed +0
-7
lines changed
Expand file tree Collapse file tree 2 files changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,6 @@ namespace livemarkdown {
1111 jni::alias_ref<jhybridobject> jThis,
1212 jni::alias_ref<jni::JString> text,
1313 const int parserId) {
14- static std::mutex workletRuntimeMutex; // this needs to be global since the worklet runtime is also global
15- const auto lock = std::lock_guard<std::mutex>(workletRuntimeMutex);
16-
1714 const auto markdownRuntime = expensify::livemarkdown::getMarkdownRuntime ();
1815 jsi::Runtime &rt = markdownRuntime->getJSIRuntime ();
1916
Original file line number Diff line number Diff line change 11#import " MarkdownParser.h"
22#import < RNLiveMarkdown/MarkdownGlobal.h>
33#import < React/RCTLog.h>
4- #import < mutex>
54
65@implementation MarkdownParser {
76 NSString *_prevText;
@@ -17,9 +16,6 @@ @implementation MarkdownParser {
1716 return _prevMarkdownRanges;
1817 }
1918
20- static std::mutex workletRuntimeMutex; // this needs to be global since the worklet runtime is also global
21- const auto lock = std::lock_guard<std::mutex>(workletRuntimeMutex);
22-
2319 const auto &markdownRuntime = expensify::livemarkdown::getMarkdownRuntime ();
2420 jsi::Runtime &rt = markdownRuntime->getJSIRuntime ();
2521
You can’t perform that action at this time.
0 commit comments