Skip to content

Commit b52d4d0

Browse files
committed
Fix input page not going away
1 parent 91bf16e commit b52d4d0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/widgets/tab.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,7 @@ impl Tab {
220220
let data = this.open_url(url).await;
221221
*body_weak.upgrade().unwrap().borrow_mut() = data;
222222
};
223-
imp.req_handle
224-
.replace(Some(glibctx().spawn_local_with_handle(fut).unwrap()));
223+
self.spawn_request(fut);
225224
}
226225
fn add_to_history(&self, mut item: HistoryItem) -> usize {
227226
let imp = self.imp();

0 commit comments

Comments
 (0)