--- a/webengine/osswebengine/cache/src/HttpCacheObserver.cpp Thu Aug 27 07:44:59 2009 +0300
+++ b/webengine/osswebengine/cache/src/HttpCacheObserver.cpp Thu Sep 24 12:53:48 2009 +0300
@@ -88,6 +88,23 @@
iFsSession.Close();
}
+void CHttpCacheObserver::Queue()
+ {
+ if(IsActive())
+ {
+ User::WaitForAnyRequest(); // consume signal
+ }
+ else
+ {
+ SetActive();
+ }
+
+ // queue next notification
+ iFsSession.NotifyChange(ENotifyWrite, iStatus, *iFileName);
+ }
+
+
+
// -----------------------------------------------------------------------------
// CHttpCacheObserver::RunL
//
@@ -95,6 +112,7 @@
//
void CHttpCacheObserver::RunL()
{
+ Queue();
iHttpCacheHandler->UpdateLookupTable();
}