Stop the auto-reload thread.
(self)
| 726 | return jsonify({"error": "Invalid point index"}), 404 |
| 727 | |
| 728 | def stop(self): |
| 729 | """Stop the auto-reload thread.""" |
| 730 | self._stop_reload_thread.set() |
| 731 | if self._reload_thread.is_alive(): |
| 732 | self._reload_thread.join(timeout=2.0) |
| 733 | |
| 734 | def run(self, debug: bool = False): |
| 735 | """Run the web server.""" |