Skip to content

Commit 157873f

Browse files
committed
bug fix
1 parent c03bc8b commit 157873f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

include/behaviortree_cpp/utils/wakeup_signal.hpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ class WakeUpSignal
1616
/// signal was received.
1717
bool waitFor(std::chrono::microseconds usec)
1818
{
19-
if(usec.count() <= 0) {
20-
return ready_.load();
21-
}
2219
std::unique_lock<std::mutex> lk(mutex_);
2320
auto res = cv_.wait_for(lk, usec, [this]{
2421
return ready_.load();

0 commit comments

Comments
 (0)