mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 17:20:08 +00:00
update comment
This commit is contained in:
parent
c693e5d88e
commit
40fa96d27f
@ -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…
x
Reference in New Issue
Block a user