Browse Source

fix navigation history table cleanup

CPP-GTK4
yggverse 3 months ago
parent
commit
3706628225
  1. 5
      src/app/browser/main/tab/page/navigation.cpp
  2. 2
      src/app/browser/main/tab/page/navigation/history.hpp

5
src/app/browser/main/tab/page/navigation.cpp

@ -334,6 +334,11 @@ int Navigation::DB::SESSION::clean( @@ -334,6 +334,11 @@ int Navigation::DB::SESSION::clean(
// Delegate children dependencies cleanup
if (EXEC_STATUS == SQLITE_OK)
{
navigation::History::DB::SESSION::clean(
db,
APP_BROWSER_MAIN_TAB_PAGE_NAVIGATION__SESSION__ID
);
navigation::Request::DB::SESSION::clean(
db,
APP_BROWSER_MAIN_TAB_PAGE_NAVIGATION__SESSION__ID

2
src/app/browser/main/tab/page/navigation/history.hpp

@ -21,7 +21,7 @@ namespace app::browser::main::tab::page::navigation @@ -21,7 +21,7 @@ namespace app::browser::main::tab::page::navigation
class History : public Gtk::Box
{
private:
public:
/*
* History class database
*

Loading…
Cancel
Save