mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
remove deprecated redirect chunk implementation
This commit is contained in:
parent
dabff4f4cb
commit
99c3c5b0e5
4 changed files with 6 additions and 90 deletions
|
|
@ -31,7 +31,9 @@ impl Client {
|
|||
pub fn init(profile: &Rc<Profile>, callback: impl Fn(Status) + 'static) -> Self {
|
||||
Self {
|
||||
cancellable: Cell::new(Cancellable::new()),
|
||||
driver: Driver::init(profile, move |status| callback(Status::Driver(status))),
|
||||
driver: Driver::init(profile.clone(), move |status| {
|
||||
callback(Status::Driver(status))
|
||||
}),
|
||||
status: Rc::new(RefCell::new(Status::Cancellable { time: now() })), // e.g. "ready to use"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue