diff options
Diffstat (limited to 'cli/ops')
-rw-r--r-- | cli/ops/tls.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cli/ops/tls.rs b/cli/ops/tls.rs index 48c89be81..5cbdff300 100644 --- a/cli/ops/tls.rs +++ b/cli/ops/tls.rs @@ -291,9 +291,7 @@ impl TlsListenerResource { /// Stop tracking a task. /// Happens when the task is done and thus no further tracking is needed. pub fn untrack_task(&mut self) { - if self.waker.is_some() { - self.waker.take(); - } + self.waker.take(); } } |