Closed Bug 78825 Opened 23 years ago Closed 23 years ago

hang if you close mozilla when offline (empty trash on exit = ON)

Categories

(SeaMonkey :: MailNews: Backend, defect, P1)

x86
All
defect

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.1

People

(Reporter: grylchan, Assigned: Bienvenu)

Details

(Whiteboard: [nsbeta1+] want for mozilla 0.9.1)

Attachments

(1 file)

BuildID:    2001050304

If you have a IMAP mail account, select the preference "empty trash on
exit", go offline, and exit messenger; the result is
it appears mozilla has quit, but the process is still runnning in the
background.

Reproducible: Always
Steps to Reproduce:
1.Log In into IMAP server (don't think the deletion model matters)
2.Go into Mail/News Account Settings
3.Select your account and then click server settings
4.Click on "empty trash on exit" preference and click ok
5.Go offline (either by clicking offline icon or from the File menu)
6. Exit Mozilla

Actual Results:  Mozilla appears to quit. But if run Task Manager (on Win NT), 
you will see the process still running

Expected Results:  Mozilla quits and if you won't see the process in Task 
Manager (on Win NT)

It hangs but it's not a visual Hang like it was with
"Clean up inbox on exit" bug 76687. It 'looks' like
it quits but it is really running in the background.

Haven't tried any of the linux or mac builds.
Status: NEW → ASSIGNED
Priority: -- → P1
Keywords: nsbeta1
marking nsbeta1+
Whiteboard: [nsbeta1+]
QA Contact: esther → gchan
Attached patch proposed fixSplinter Review
CC'ing Navin and Seth for review - trivial fix to return error code. We won't
get into the code that removes sub-folders, but that's not likely to work if
deleting messages didn't work.
r=naving. 
as hwaara pointed out to me,

why not "if (NS_FAILED(rv)) return rv;"
well, they're the same in the end. But I change it.
blizzard, isn't this the bug that was making your life hell?
Target Milestone: --- → mozilla0.9.1
fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
I don't use offline mode so no, it hasn't been a big deal to me.  Sounds nasty,
though.
Whiteboard: [nsbeta1+] → [nsbeta1+] want for mozilla 0.9.1
bliz:  I was thinking of your "hang on exit" bug with imap.
using 2001052404 build on NT 4.0, 2001052308 build on Linux 2.2, and
2001052408 on Mac OS 9.0.4, I have verified this works.

Loggin into a IMAP server, Setting the pref "Empty trash on exit", 
going offline, then quiting Mozilla does not result in a hang/crash/
process running in background.

Marking as verified.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: