Skip to content

Commit

Permalink
fix: exit(0) causes ANR due to destroyed mutex (#1820)
Browse files Browse the repository at this point in the history
Co-authored-by: Eduardo Speroni <[email protected]>
  • Loading branch information
mukaschultze and edusperoni authored Oct 15, 2024
1 parent 2bab8f5 commit 94ddb15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test-app/runtime/src/main/cpp/MetadataNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1918,7 +1918,7 @@ void MetadataNode::BuildMetadata(const string& filesPath) {
// startup because the receiver is triggered. So even though we are exiting, the receiver will have
// done its job

exit(0);
_Exit(0);
}
else {
throw NativeScriptException(ss.str());
Expand Down

0 comments on commit 94ddb15

Please sign in to comment.