MCPcopy Create free account
hub / github.com/cjcliffe/CubicSDR / removeActive

Method removeActive

src/BookmarkMgr.cpp:665–676  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

663}
664
665void BookmarkMgr::removeActive(const DemodulatorInstancePtr& demod) {
666
667 if (demod == nullptr) {
668 return;
669 }
670
671 //Delete demodulator
672 wxGetApp().getDemodMgr().setActiveDemodulator(nullptr, true);
673 wxGetApp().getDemodMgr().setActiveDemodulator(nullptr, false);
674 wxGetApp().removeDemodulator(demod);
675 wxGetApp().getDemodMgr().deleteThread(demod);
676}
677

Callers 1

doRemoveActiveMethod · 0.80

Calls 3

setActiveDemodulatorMethod · 0.80
removeDemodulatorMethod · 0.80
deleteThreadMethod · 0.80

Tested by

no test coverage detected