Perform final cleanup, if necessary. This method is called within a ``finally`` clause inside the main `~.Runner.run` method. Depending on the subclass, it may be a no-op, or it may do things such as close network connections or open files. :returns: ``None
(self)
| 1184 | raise NotImplementedError |
| 1185 | |
| 1186 | def stop(self) -> None: |
| 1187 | """ |
| 1188 | Perform final cleanup, if necessary. |
| 1189 | |
| 1190 | This method is called within a ``finally`` clause inside the main |
| 1191 | `~.Runner.run` method. Depending on the subclass, it may be a no-op, or |
| 1192 | it may do things such as close network connections or open files. |
| 1193 | |
| 1194 | :returns: ``None`` |
| 1195 | |
| 1196 | .. versionadded:: 1.0 |
| 1197 | """ |
| 1198 | if self._timer: |
| 1199 | self._timer.cancel() |
| 1200 | |
| 1201 | def kill(self) -> None: |
| 1202 | """ |