mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Remove Timer::FireNow.
PiperOrigin-RevId: 811123106
This commit is contained in:
committed by
Copybara-Service
parent
eb3ae063f5
commit
72088b7fe2
@@ -54,14 +54,6 @@ class Timer : public api::Timer {
|
||||
return false;
|
||||
}
|
||||
|
||||
bool FireNow() override {
|
||||
if (is_stopped_) {
|
||||
return false;
|
||||
}
|
||||
callback_();
|
||||
return true;
|
||||
}
|
||||
|
||||
private:
|
||||
bool Schedule(absl::Duration delay) {
|
||||
absl::MutexLock lock(&mutex_);
|
||||
|
||||
Reference in New Issue
Block a user