fix the bug for none of recv_topics

This commit is contained in:
stmoon 2020-01-20 11:10:58 +00:00 committed by Nuno Marques
parent c270e75156
commit 44cac04abe
1 changed files with 2 additions and 0 deletions

View File

@ -253,7 +253,9 @@ int main(int argc, char** argv)
std::chrono::time_point<std::chrono::steady_clock> start, end;
@[end if]@
@[if recv_topics]@
topics.init(&t_send_queue_cv, &t_send_queue_mutex, &t_send_queue);
@[end if]@
running = true;
@[if recv_topics]@