Update Capture.cpp

terminating the t1 thread correctly to stop device start() and process() every time the while(true) loop is executed.
This commit is contained in:
sdn-ninja 2024-05-09 21:54:08 +01:00 committed by GitHub
parent bf29d1431f
commit 25eea87083
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -61,7 +61,7 @@ void Capture::process(IqData *buffer1, IqData *buffer2, c4::yml::NodeRef config,
{
device->replay(buffer1, buffer2, file, loop);
}
t1.join();
}
std::unique_ptr<Source> Capture::factory_source(const std::string& type, c4::yml::NodeRef config)