mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2025-09-06 07:07:48 -04:00
commit
695d00d966
@ -278,7 +278,7 @@ DemodulatorInstance *DemodulatorMgr::getLastDemodulatorWith(const std::string& t
|
|||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DemodulatorMgr::garbageCollect(boolean forcedGC) {
|
void DemodulatorMgr::garbageCollect(bool forcedGC) {
|
||||||
|
|
||||||
std::lock_guard < std::mutex > lock(deleted_demods_busy);
|
std::lock_guard < std::mutex > lock(deleted_demods_busy);
|
||||||
|
|
||||||
|
@ -73,7 +73,7 @@ public:
|
|||||||
//all deleted demodulators are effectively GCed.
|
//all deleted demodulators are effectively GCed.
|
||||||
//else: (default) the method test for effective termination
|
//else: (default) the method test for effective termination
|
||||||
//and GC one demod per call.
|
//and GC one demod per call.
|
||||||
void garbageCollect(boolean forcedGC = false);
|
void garbageCollect(bool forcedGC = false);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user