mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
update comment
This commit is contained in:
parent
c693e5d88e
commit
40fa96d27f
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ impl Client {
|
||||||
// Init new Cancellable
|
// Init new Cancellable
|
||||||
let cancellable = Cancellable::new();
|
let cancellable = Cancellable::new();
|
||||||
|
|
||||||
// Cancel previous client operations
|
// Replace by cancel previous operations
|
||||||
let previous = self.cancellable.replace(cancellable.clone());
|
let previous = self.cancellable.replace(cancellable.clone());
|
||||||
if !previous.is_cancelled() {
|
if !previous.is_cancelled() {
|
||||||
previous.cancel();
|
previous.cancel();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue