Skip to content

Commit

Permalink
fix missing change
Browse files Browse the repository at this point in the history
tm is not the timer id anymore but the whole TimeoutEntry instance
  • Loading branch information
Stephan Dilly committed Mar 9, 2014
1 parent 60b439a commit 2df9df0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/vibe/core/drivers/libevent2.d
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ class Libevent2Driver : EventDriver {
auto tm = m_timeoutHeap.front;
m_timeoutHeap.removeFront();

auto pt = tm in m_timers;
auto pt = tm.id in m_timers;
if (!pt || !pt.pending || pt.timeout != tm.timeout) continue;

Task owner = pt.owner;
Expand Down

0 comments on commit 2df9df0

Please sign in to comment.