Skip to content

Commit

Permalink
Explain why we don't need a mutex
Browse files Browse the repository at this point in the history
  • Loading branch information
tomekzaw committed Nov 5, 2024
1 parent ff832bb commit 320e85b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions android/src/main/cpp/MarkdownUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ namespace livemarkdown {
jni::alias_ref<jhybridobject> jThis,
jni::alias_ref<jni::JString> input,
int parserId) {
// This method is synchronized (see MarkdownUtils.java) so we don't need a mutex here.
const auto markdownRuntime = expensify::livemarkdown::getMarkdownRuntime();
jsi::Runtime &rt = markdownRuntime->getJSIRuntime();

Expand Down

0 comments on commit 320e85b

Please sign in to comment.