? boost-413908.patch
Index: boost.admin.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/boost/boost.admin.inc,v
retrieving revision 1.1.2.1.2.3.2.15
diff -u -p -r1.1.2.1.2.3.2.15 boost.admin.inc
--- boost.admin.inc	26 May 2009 19:35:09 -0000	1.1.2.1.2.3.2.15
+++ boost.admin.inc	29 May 2009 09:06:58 -0000
@@ -164,6 +164,9 @@ function boost_admin_settings_submit($fo
       drupal_set_message(t('Static page cache cleared.'));
     }
   }
+  else if (variable_get('preprocess_css', FALSE)==TRUE || variable_get('preprocess_js', FALSE)==TRUE) {
+    boost_cache_clear_all();
+  }
 }
 
 function boost_admin_clear_cache_submit($form, &$form_state) {
Index: boost.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/boost/boost.module,v
retrieving revision 1.3.2.2.2.5.2.36
diff -u -p -r1.3.2.2.2.5.2.36 boost.module
--- boost.module	26 May 2009 19:44:01 -0000	1.3.2.2.2.5.2.36
+++ boost.module	29 May 2009 09:06:58 -0000
@@ -191,7 +191,7 @@ function boost_cron() {
  * Implementation of hook_flush_caches(). Deletes all static files.
  */
 function boost_flush_caches() {
-  if (variable_get('preprocess_css', FALSE)==TRUE || variable_get('preprocess_js', FALSE)==TRUE) {
+  if (variable_get('cron_semaphore', FALSE)==FALSE && (variable_get('preprocess_css', FALSE)==TRUE || variable_get('preprocess_js', FALSE)==TRUE)) {
     boost_cache_clear_all();
   }
   return;
