Index: trunk/object-cache.php
===================================================================
--- trunk/object-cache.php	(revision 1227915)
+++ trunk/object-cache.php	(working copy)
@@ -198,8 +198,14 @@
 			return true;
 
 		$ret = true;
-		foreach ( array_keys($this->mc) as $group )
-			$ret &= $this->mc[$group]->flush();
+		foreach ( array_keys( $this->mc ) as $group ) {
+			$ret &= $this->mc[ $group ]->flush();
+		}
+
+		if ( $ret ) {
+			$this->cache = array();
+		}
+
 		return $ret;
 	}
 
