Skip to content

Commit

Permalink
Remove prepare_freethreaded_python which is not necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
haixuanTao committed Mar 5, 2025
1 parent bbd4fd9 commit 82b1eb8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions node-hub/dora-kit-car/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@ use pyo3::{
#[cfg(feature = "python")]
#[pyfunction]
fn py_main(_py: Python) -> eyre::Result<()> {
pyo3::prepare_freethreaded_python();

lib_main()
}

Expand Down
1 change: 0 additions & 1 deletion node-hub/dora-object-to-pose/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,6 @@ use pyo3::{
#[cfg(feature = "python")]
#[pyfunction]
fn py_main(_py: Python) -> eyre::Result<()> {
pyo3::prepare_freethreaded_python();
lib_main()
}

Expand Down

0 comments on commit 82b1eb8

Please sign in to comment.