Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r86759 - trunk/boost/msm/back
From: christophe.j.henry_at_[hidden]
Date: 2013-11-18 17:13:36


Author: chenry
Date: 2013-11-18 17:13:36 EST (Mon, 18 Nov 2013)
New Revision: 86759
URL: http://svn.boost.org/trac/boost/changeset/86759

Log:
tentative fix for trac 9280

Text files modified:
   trunk/boost/msm/back/state_machine.hpp | 3 +++
   1 files changed, 3 insertions(+), 0 deletions(-)

Modified: trunk/boost/msm/back/state_machine.hpp
==============================================================================
--- trunk/boost/msm/back/state_machine.hpp Mon Nov 18 13:20:44 2013 (r86758)
+++ trunk/boost/msm/back/state_machine.hpp 2013-11-18 17:13:36 EST (Mon, 18 Nov 2013) (r86759)
@@ -2599,6 +2599,9 @@
         direct_event_start_helper(this)(incomingEvent,fsm);
         // handle messages which were generated and blocked in the init calls
         m_event_processing = false;
+ // look for deferred events waiting
+ handle_defer_helper<library_sm> defer_helper(m_deferred_events_queue);
+ defer_helper.do_post_handle_deferred(HANDLED_TRUE);
         process_message_queue(this);
      }
      template <class Event,class FsmType>


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk