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)
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
Comment 1•24 years ago
|
||
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.
| Assignee | ||
Comment 2•24 years ago
|
||
> 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.
Comment 3•24 years ago
|
||
I think comment #1 has it backwards, should be 'We have QuickLaunch, so we can't
leak stuff'.
Comment 4•24 years ago
|
||
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]
Comment 5•24 years ago
|
||
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
Comment 6•24 years ago
|
||
Can someone provide a test case for this?
Updated•24 years ago
|
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 → ---
Comment 8•24 years ago
|
||
> 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
Comment 9•24 years ago
|
||
is this bug really fixed? no attachment, and comments don't seem to indicate a
resolution.
Comment 10•24 years ago
|
||
The patch that fixed it is in bug 98673. The patch got rid of session-logout.
| Assignee | ||
Comment 11•24 years ago
|
||
It probably should have been resolved as INVALID rather than FIXED. Either way,
not an issue anymore.
Updated•14 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•