Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix for elusive crashing issue #773

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/op25_repeater/lib/p25_frame_assembler_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ p25_frame_assembler_impl::general_work (int noutput_items,

//BOOST_LOG_TRIVIAL(trace) << "P25 Frame Assembler - output_queue: " << output_queue.size() << " noutput_items: " << noutput_items << " ninput_items: " << ninput_items[0];

if (amt_produce > 0) {
if (amt_produce > 0 && terminate_call !== true) {
long src_id = p1fdma.get_curr_src_id();
long grp_id = p1fdma.get_curr_grp_id();
// If a SRC wasn't received on the voice channel since the last check, it will be -1
Expand Down Expand Up @@ -254,4 +254,4 @@ p25_frame_assembler_impl::general_work (int noutput_items,
}
}
} /* namespace op25_repeater */
} /* namespace gr */
} /* namespace gr */