Skip to content

Commit

Permalink
fix: repetitive logging
Browse files Browse the repository at this point in the history
  • Loading branch information
simbleau committed Feb 7, 2025
1 parent 47b1897 commit aa9f15b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ Subheadings to categorize changes are `added, changed, deprecated, removed, fixe

## Unreleased

## 0.4.1

### Fixed

- There is no longer repetitive console warnings about polling tasks.

## 0.4.0

### Added
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repository = "https://github.com/loopystudios/bevy_async_task"
authors = ["Spencer C. Imbleau"]
keywords = ["gamedev", "async"]
categories = ["game-development", "asynchronous"]
version = "0.4.0"
version = "0.4.1"
edition = "2021"

[lints]
Expand Down
5 changes: 1 addition & 4 deletions src/task_runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,7 @@ impl<T: ConditionalSend + 'static> AsyncTaskRunner<'_, T> {
}
None => Poll::Pending,
},
None => {
warn!("You are polling a task runner before a task was started");
Poll::Pending
}
None => Poll::Pending,
}
}
}
Expand Down

0 comments on commit aa9f15b

Please sign in to comment.