Closed Bug 138274 Opened 24 years ago Closed 24 years ago

on "session-logout" flush and release localstore.rdf

Categories

(Core Graveyard :: QuickLaunch (AKA turbo mode), defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: sspitzer, Assigned: ccarlen)

References

Details

(Whiteboard: [need info][need test case])

on "session-logout" flush and release localstore.rdf add code to flush and release localstore.rdf on "session-logout" like we do when we switch profiles. The fix would be similar to what we already have: http://lxr.mozilla.org/mozilla/source/rdf/datasource/src/nsLocalStore.cpp#517
I think calling nsMsgAccountManager::ShutDown() on "session-logout" topic should solve some of the problems we are seeing when there is no profile switch, which is what most users do (launch same profile again) I just saw a bug where filters were not firing related to quick launch. We cannot have quick launch if we are going to leak stuff.
> I think calling nsMsgAccountManager::ShutDown() on "session-logout" topic should solve some of the problems we are seeing It does seem that if mailnews is holding references to objects after a "session-logout" happens and it really needs those objects to die, it should shut down and thus release the refs. Making localstore do it seems a little heavy-handed. On the other hand, if we do want to be heavy-handled, shutting down localstore on a session-logout means pretty much just adding || !nsCRT::strcmp(aTopic, "session-logout") to the line in Seth's lxr link. Only trick will be sending out a "session-begin". That's not currently done because everything so far to observe "session-logout" gets re-initialized lazily. Waterson, that doesn't seem to be possible with localstore. Tell me is you think it is.
I think comment #1 has it backwards, should be 'We have QuickLaunch, so we can't leak stuff'.
This bug refers to problems, and a fix, but no specifics. Is there a missing dependency, or steps to reproduce, or what? If it really is needed for MachV, please nominate for nsbeta1, and in any case, please clarify the problem and impact.
Whiteboard: [need info]
I'm sure that the new turbo mode introduced by the checkin for bug 98673 has fixed this as well. Therefore closing out as fixed. Please re-open if I'm wrong.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Can someone provide a test case for this?
Whiteboard: [need info] → [need info][need test case]
that's bogus. this is a code bug. quicklaunch doesn't do anything interesting for non windows, and what about live profile switching?
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
> quicklaunch doesn't do anything interesting for non windows, session-logout was never issued for non-windows platforms. And as of the change over to the new turbo model, it is no longer issued for windows platforms either. > and what about live profile switching? It uses "profile-before-change" and "profile-do-change" but not "session-logout".
Status: REOPENED → RESOLVED
Closed: 24 years ago → 24 years ago
Resolution: --- → FIXED
is this bug really fixed? no attachment, and comments don't seem to indicate a resolution.
The patch that fixed it is in bug 98673. The patch got rid of session-logout.
It probably should have been resolved as INVALID rather than FIXED. Either way, not an issue anymore.
verified
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.