Skip to content

Commit

Permalink
Remove bounds on run_jobs_async
Browse files Browse the repository at this point in the history
  • Loading branch information
jedel1043 committed Jun 13, 2023
1 parent a9cf04d commit b1a6b32
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions boa_engine/src/context/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -417,10 +417,7 @@ impl<'host> Context<'host> {
/// specific handling of each [`JobQueue`]. If you need to ensure that jobs are executed
/// concurrently, you can provide a custom implementor of `JobQueue` to the context.
#[allow(clippy::future_not_send)]
pub async fn run_jobs_async<'a>(self: &'a mut Context<'host>)
where
'host: 'a,
{
pub async fn run_jobs_async(&mut self) {
self.job_queue().run_jobs_async(self).await;
self.clear_kept_objects();
}
Expand Down

0 comments on commit b1a6b32

Please sign in to comment.