Bug 179056 "Check for new message every" stops after hibernate. patch by Masatoshi Kimura (emk) <VYV03354@nifty.ne.jp> r=emaijala+sfraser, sr=roc

git-svn-id: svn://10.0.0.236/trunk@191035 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
masayuki%d-toybox.com
2006-02-23 17:02:45 +00:00
parent ebb4d1bcf6
commit bbdc339af8
3 changed files with 35 additions and 0 deletions

View File

@@ -428,6 +428,7 @@ void TimerThread::DoBeforeSleep()
void TimerThread::DoAfterSleep()
{
mSleeping = PR_TRUE; // wake may be notified without preceding sleep notification
for (PRInt32 i = 0; i < mTimers.Count(); i ++) {
nsTimerImpl *timer = NS_STATIC_CAST(nsTimerImpl*, mTimers[i]);
// get and set the delay to cause its timeout to be recomputed