Skip to content

Commit 22ec886

Browse files
committed
temporarily comment out more code
1 parent 60e7762 commit 22ec886

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/bevy_tasks/src/task_pool.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,14 +180,14 @@ impl TaskPool {
180180
}
181181

182182
fn new_internal(builder: TaskPoolBuilder) -> Self {
183-
if let Some(thread_count) = builder.max_blocking_threads {
183+
// if let Some(thread_count) = builder.max_blocking_threads {
184184
// Safety: This is likely unsafe as this could be called if the TaskPoolBuilder is called from
185185
// multiple threads.
186186
// #[expect(unsafe_code, reason = "TaskPools are only initialiazed from one thread")]
187187
// unsafe {
188188
// env::set_var("BLOCKING_MAX_THREADS", thread_count.to_string().as_str());
189189
// }
190-
}
190+
// }
191191

192192
let (shutdown_tx, shutdown_rx) = async_channel::unbounded::<()>();
193193

0 commit comments

Comments
 (0)