Merge pull request #1013 from sergeyvfx/fix_empty_limesdr_crash

Fix crash starting LimeSDR source without device
pull/1017/head
AlexandreRouma 2023-03-14 23:00:13 +01:00 zatwierdzone przez GitHub
commit 19247ef4f2
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -319,6 +319,7 @@ private:
static void start(void* ctx) {
LimeSDRSourceModule* _this = (LimeSDRSourceModule*)ctx;
if (_this->running) { return; }
if (_this->selectedDevName.empty()) { return; }
// Open device
_this->openDev = NULL;