Skip to content

Commit 26d0259

Browse files
calling stop instead of directlying canceling ttask
1 parent 83e0d71 commit 26d0259

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

v3/primitives/delay_ms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,5 @@ def callback(self, func=None, args=()):
7171
self._args = args
7272

7373
def deinit(self):
74-
self._ttask.cancel()
74+
self.stop()
7575
self._mtask.cancel()

0 commit comments

Comments
 (0)