set scan timer pointer to zero if it isnt used
This commit is contained in:
@@ -41,6 +41,9 @@ exPV::exPV (pvInfo &setup, bool preCreateFlag, bool scanOnIn) :
|
||||
this->pScanTimer =
|
||||
new exScanTimer (this->getScanPeriod(), *this);
|
||||
}
|
||||
else {
|
||||
this->pScanTimer = 0;
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user