Commit b32ac7c9 authored by neverlord's avatar neverlord

removed obsolete code

parent 484ad007
...@@ -81,8 +81,6 @@ auto abstract_event_based_actor::handle_message(mailbox_element& node) -> handle ...@@ -81,8 +81,6 @@ auto abstract_event_based_actor::handle_message(mailbox_element& node) -> handle
std::swap(m_last_sender, node.sender); std::swap(m_last_sender, node.sender);
//m_last_dequeued = node.msg; //m_last_dequeued = node.msg;
//m_last_sender = node.sender; //m_last_sender = node.sender;
// make sure no timeout is handled incorrectly in a nested receive
++m_active_timeout_id;
if ((bhvr.get_partial_function())(m_last_dequeued)) if ((bhvr.get_partial_function())(m_last_dequeued))
{ {
m_last_dequeued.reset(); m_last_dequeued.reset();
...@@ -92,7 +90,6 @@ auto abstract_event_based_actor::handle_message(mailbox_element& node) -> handle ...@@ -92,7 +90,6 @@ auto abstract_event_based_actor::handle_message(mailbox_element& node) -> handle
return msg_handled; return msg_handled;
} }
// no match, restore members // no match, restore members
--m_active_timeout_id;
std::swap(m_last_dequeued, node.msg); std::swap(m_last_dequeued, node.msg);
std::swap(m_last_sender, node.sender); std::swap(m_last_sender, node.sender);
return cache_msg; return cache_msg;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment