Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
fafhrd91 committed Sep 29, 2024
1 parent a4c57d1 commit 96d4234
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions ntex-service/src/pipeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,15 @@ where
}
}

impl<S, R> Drop for PipelineBinding<S, R>
where
S: Service<R>,
{
fn drop(&mut self) {
self.st = cell::UnsafeCell::new(State::New);
}
}

impl<S, R> Clone for PipelineBinding<S, R>
where
S: Service<R>,
Expand Down

0 comments on commit 96d4234

Please sign in to comment.