Merge branch 'thread' of https://git.shs.tools/SHS/pip into thread
This commit is contained in:
@@ -204,8 +204,8 @@ public:
|
||||
virtual ~_PITimerImp_RT();
|
||||
protected:
|
||||
private:
|
||||
virtual bool startTimer(double interval_ms);
|
||||
virtual bool stopTimer(bool wait);
|
||||
bool startTimer(double interval_ms) override;
|
||||
bool stopTimer() override;
|
||||
|
||||
int ti;
|
||||
_PITimerImp_RT_Private_ * priv;
|
||||
@@ -399,7 +399,7 @@ _PITimerImp_RT::_PITimerImp_RT() {
|
||||
|
||||
|
||||
_PITimerImp_RT::~_PITimerImp_RT() {
|
||||
stop(true);
|
||||
stop();
|
||||
delete priv;
|
||||
}
|
||||
|
||||
@@ -432,7 +432,7 @@ bool _PITimerImp_RT::startTimer(double interval_ms) {
|
||||
}
|
||||
|
||||
|
||||
bool _PITimerImp_RT::stopTimer(bool wait) {
|
||||
bool _PITimerImp_RT::stopTimer() {
|
||||
if (ti < 0) return true;
|
||||
timer_delete(priv->tt);
|
||||
ti = -1;
|
||||
|
||||
Reference in New Issue
Block a user