? boost-305071.1.patch
Index: boost.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/boost/boost.module,v
retrieving revision 1.3.2.2.2.5.2.213
diff -u -p -r1.3.2.2.2.5.2.213 boost.module
--- boost.module	30 Oct 2009 15:30:48 -0000	1.3.2.2.2.5.2.213
+++ boost.module	30 Oct 2009 18:02:25 -0000
@@ -243,7 +243,7 @@ function boost_exit($destination = NULL)
     // Check that we're dealing with an anonymous visitor. and that some
     // session messages have actually been set during this page request:
     global $user;
-    if (empty($user->uid) && ($messages = drupal_set_message())) {
+    if (empty($user->uid) || ($messages = drupal_set_message()) || $GLOBALS['_boost_message_count']) {
       // FIXME: call any remaining exit hooks since we're about to terminate?
 
       $query_parts = parse_url($destination);
