commit | 94ceb12a4c48815c12a67fea5206e7fde359efd9 | [log] [tgz] |
---|---|---|
author | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Mon Feb 03 14:47:57 2014 -0800 |
committer | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Wed Feb 05 15:42:37 2014 -0800 |
tree | ce4f44461df93c1c953d1b45e7fbfd406d7c9d32 | |
parent | d5f87930a135df5581de4ab47a821c59a1ab7369 [diff] [blame] |
core: Fixing scheduler, so it doesn't crash when an event is cancelled from the event invocation Change-Id: I219df36a4ed19d75e97e676bedeba023fd53326e
diff --git a/daemon/core/scheduler.hpp b/daemon/core/scheduler.hpp index 4b2e2d4..a8e60bb 100644 --- a/daemon/core/scheduler.hpp +++ b/daemon/core/scheduler.hpp
@@ -92,6 +92,8 @@ EventQueue m_events; EventQueue::iterator m_scheduledEvent; boost::asio::monotonic_deadline_timer m_deadlineTimer; + + bool m_isEventExecuting; }; } // namespace nfd