Skip to content

Commit

Permalink
Fix FreeDV Reporter crash when sending RX record.
Browse files Browse the repository at this point in the history
  • Loading branch information
tmiw committed Jun 18, 2023
1 parent 0d2aa64 commit 8016b92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reporting/FreeDVReporter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ void FreeDVReporter::transmit(std::string mode, bool tx)
void FreeDVReporter::addReceiveRecord(std::string callsign, std::string mode, uint64_t frequency, char snr)
{
std::unique_lock<std::mutex> lk(fnQueueMutex_);
fnQueue_.push_back([&, mode, snr]() {
fnQueue_.push_back([&, mode, snr, callsign]() {
sio::message::ptr rxDataPtr = sio::object_message::create();
auto rxData = (sio::object_message*)rxDataPtr.get();

Expand Down

0 comments on commit 8016b92

Please sign in to comment.