add:  var ds = getItemsDS(item.feed.server); ds.QueryInterface(Components.interfaces.nsIRDFRemoteDataSource).Flush();  
context: function storeNextItem(){  var item = gItemsToStore[gItemsToStoreIndex];   item.store();  item.markValid();  // if the listener is tracking progress for storing each item, report it here...  if (item.feed.downloadCallback && item.feed.downloadCallback.onFeedItemStored)    item.feed.downloadCallback.onFeedItemStored(item.feed, gItemsToStoreIndex, gItemsToStore.length);   gItemsToStoreIndex++  // eventually we'll report individual progress here....  if (gItemsToStoreIndex < gItemsToStore.length)  {    if (!gStoreItemsTimer)      gStoreItemsTimer = Components.classes["@mozilla.org/timer;1"].createInstance(Components.interfaces.nsITimer);    gStoreItemsTimer.initWithCallback(storeNextItemTimerCallback, 50, Components.interfaces.nsITimer.TYPE_ONE_SHOT);  }  else  {        item.feed.removeInvalidItems();    if (item.feed.downloadCallback)      item.feed.downloadCallback.downloaded(item.feed, kNewsBlogSuccess);    item.feed.request = null; // force the xml http request to go away. This helps reduce some                              // nasty assertions on shut down of all things.    gItemsToStore = "";    gItemsToStoreIndex = 0;  }   }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/779ba78259e46cfdb97acc5ab5e2b835ecae8c0c/Feed.js/buggy/mail/extensions/newsblog/content/Feed.js