File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -1070,7 +1070,9 @@ Synchronous methods:
1070
1070
the ` Task ` instance. This allows the ` Task ` to be cancelled or awaited.
1071
1071
6 . ` callback ` args ` func=None ` , ` args=() ` . Allows the callable and its args to
1072
1072
be assigned, reassigned or disabled at run time.
1073
- 7 . ` deinit ` No args. Cancels the running task. See [ Object scope] ( ./TUTORIAL.md#44-object-scope ) .
1073
+ 7 . ` deinit ` No args. Cancels the running task. To avoid a memory leak this
1074
+ should be called before allowing a ` Delay_ms ` object to go out of scope. See
1075
+ [ Object scope] ( ./TUTORIAL.md#44-object-scope ) .
1074
1076
8 . ` clear ` No args. Clears the ` Event ` described in ` wait ` below.
1075
1077
9 . ` set ` No args. Sets the ` Event ` described in ` wait ` below.
1076
1078
You can’t perform that action at this time.
0 commit comments