Ver código fonte

patch cancel

justheuristic 3 anos atrás
pai
commit
2c33813d68
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      hivemind/averaging/control.py

+ 1 - 1
hivemind/averaging/control.py

@@ -145,4 +145,4 @@ class StepControl(MPFuture):
     def cancel(self) -> bool:
         if self._trigger is not None:
             self._trigger.cancel()
-        return self.cancel()
+        return super().cancel()