add manual garbage collection

This commit is contained in:
jeffvli
2026-01-01 12:21:05 -08:00
parent a7d2a427ec
commit 22c0f8f8c6
4 changed files with 67 additions and 1 deletions
@@ -3,6 +3,7 @@ import { useNavigate } from 'react-router';
import { useAppTracker } from '/@/renderer/features/analytics/hooks/use-app-tracker';
import { CommandPalette } from '/@/renderer/features/search/components/command-palette';
import { useGarbageCollection } from '/@/renderer/hooks/use-garbage-collection';
import { useIsMobile } from '/@/renderer/hooks/use-is-mobile';
import { DefaultLayout } from '/@/renderer/layouts/default-layout';
import { MobileLayout } from '/@/renderer/layouts/mobile-layout/mobile-layout';
@@ -31,6 +32,7 @@ const ResponsiveLayoutBase = ({ shell }: ResponsiveLayoutProps) => {
export const ResponsiveLayout = ({ shell }: ResponsiveLayoutProps) => {
useAppTracker();
useGarbageCollection();
return (
<>