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.
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.
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?
fix checked in.
Status: ASSIGNED → RESOLVED
Last Resolved: 17 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
You need to log in before you can comment on or make changes to this bug.