Bug 395045. Expire cached content-viewers after they've been unused for 20-30 minutes. r+sr+a=bz

git-svn-id: svn://10.0.0.236/trunk@236433 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
roc+%cs.cmu.edu
2007-09-21 09:20:00 +00:00
parent 9845186605
commit 7b90bd1aa0
6 changed files with 140 additions and 4 deletions

View File

@@ -80,12 +80,16 @@ Initialize(nsIModule* aSelf)
gInitialized = PR_TRUE;
nsresult rv = nsSHistory::Startup();
NS_ENSURE_SUCCESS(rv, rv);
rv = nsSHEntry::Startup();
return rv;
}
PR_STATIC_CALLBACK(void)
Shutdown(nsIModule* aSelf)
{
nsSHEntry::Shutdown();
gInitialized = PR_FALSE;
}