Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix potential deadlock when saving to file after logging at the end o…
…f a Python program (#3920) ### What Certain edge cases of changing the sink can cause an internal flush, which is known to cause potential deadlocks when dropping python datastructures. Release the GIL under .save(), .connect(), and .memory(). Resolves: - #3907 ### Checklist * [x] I have read and agree to [Contributor Guide](https://github.com/rerun-io/rerun/blob/main/CONTRIBUTING.md) and the [Code of Conduct](https://github.com/rerun-io/rerun/blob/main/CODE_OF_CONDUCT.md) * [x] I've included a screenshot or gif (if applicable) * [x] I have tested [demo.rerun.io](https://demo.rerun.io/pr/3920) (if applicable) * [x] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG - [PR Build Summary](https://build.rerun.io/pr/3920) - [Docs preview](https://rerun.io/preview/c5bcfffb3612a6ede8c94a8d05894155e56bbe15/docs) <!--DOCS-PREVIEW--> - [Examples preview](https://rerun.io/preview/c5bcfffb3612a6ede8c94a8d05894155e56bbe15/examples) <!--EXAMPLES-PREVIEW--> - [Recent benchmark results](https://ref.rerun.io/dev/bench/) - [Wasm size tracking](https://ref.rerun.io/dev/sizes/)
- Loading branch information
2f4cfe3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possible performance regression was detected for benchmark 'Rust Benchmark'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold
1.25
.mono_points_arrow/generate_message_bundles
26506138
ns/iter (± 1240148
)18546498
ns/iter (± 243845
)1.43
mono_points_arrow_batched/generate_message_bundles
18325594
ns/iter (± 1426671
)14245082
ns/iter (± 23142
)1.29
mono_points_arrow_batched/encode_total
24962822
ns/iter (± 1516326
)19661293
ns/iter (± 86027
)1.27
This comment was automatically generated by workflow using github-action-benchmark.