remove deprecated redirect chunk implementation

This commit is contained in:
yggverse 2025-01-17 04:44:08 +02:00
parent dabff4f4cb
commit 99c3c5b0e5
4 changed files with 6 additions and 90 deletions

View file

@ -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"
}
}