Browse Source

use borrow

master
yggverse 2 months ago
parent
commit
3bc74f17af
  1. 2
      src/app/browser/window/tab.rs

2
src/app/browser/window/tab.rs

@ -272,7 +272,7 @@ impl Tab { @@ -272,7 +272,7 @@ impl Tab {
pub fn save(&self, tx: &Transaction, app_browser_window_id: &i64) {
let mut page_number = 0;
for (_, _) in self.index.take().iter() {
for (_, _) in self.index.borrow().iter() {
match self.database.add(
tx,
app_browser_window_id,

Loading…
Cancel
Save