Skip to content

Commit aa9f15b

Browse files
committed
fix: repetitive logging
1 parent 47b1897 commit aa9f15b

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ Subheadings to categorize changes are `added, changed, deprecated, removed, fixe
1010

1111
## Unreleased
1212

13+
## 0.4.1
14+
15+
### Fixed
16+
17+
- There is no longer repetitive console warnings about polling tasks.
18+
1319
## 0.4.0
1420

1521
### Added

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repository = "https://github.com/loopystudios/bevy_async_task"
1010
authors = ["Spencer C. Imbleau"]
1111
keywords = ["gamedev", "async"]
1212
categories = ["game-development", "asynchronous"]
13-
version = "0.4.0"
13+
version = "0.4.1"
1414
edition = "2021"
1515

1616
[lints]

src/task_runner.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,7 @@ impl<T: ConditionalSend + 'static> AsyncTaskRunner<'_, T> {
6363
}
6464
None => Poll::Pending,
6565
},
66-
None => {
67-
warn!("You are polling a task runner before a task was started");
68-
Poll::Pending
69-
}
66+
None => Poll::Pending,
7067
}
7168
}
7269
}

0 commit comments

Comments
 (0)