We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 197c2b5 commit 8e01d42Copy full SHA for 8e01d42
v3/docs/DRIVERS.md
@@ -1070,7 +1070,9 @@ Synchronous methods:
1070
the `Task` instance. This allows the `Task` to be cancelled or awaited.
1071
6. `callback` args `func=None`, `args=()`. Allows the callable and its args to
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).
+ 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).
1076
8. `clear` No args. Clears the `Event` described in `wait` below.
1077
9. `set` No args. Sets the `Event` described in `wait` below.
1078
0 commit comments