Klipper is a 3d-printer firmware
Find a file
Russell Cloran e18091bac3 load_cell_probe: Fix memory leak on some probe failures
In the case where the homing module's `probing_move` raises an
exception, the collector's `_finish_collecting` is never called.
Normally the caller of `LoadCellProbingMove`'s `probing_move` uses the
collector object by calling `collect_until`, which calls
`_finish_collecting` when it is done, but if an exception is raised
before that can be done the collector object keeps receiving samples and
never does anything with them.

This ensures that the collector is stopped if an exception is raised, so
that samples do not accumulate indefinitely.

Signed-off-by: Russell Cloran <rcloran@gmail.com>
2025-08-08 12:05:35 -07:00
.github workflows: Update github build-test.yaml to ubuntu-22.04 2025-04-16 13:19:54 -04:00
config docs: Fix typos in config and docs (#6991) 2025-07-27 12:12:48 -04:00
docs idle_timeout: Add status field for current idle timeout (#6982) 2025-08-01 12:37:47 -04:00
klippy load_cell_probe: Fix memory leak on some probe failures 2025-08-08 12:05:35 -07:00
lib spi_flash: FATFS fix missing long filenames support needed by flash-sdcard.sh (#6981) 2025-07-27 12:09:11 -04:00
scripts spi_flash: Add ZNP Robin Nano v2.2 to board defs (#6986) 2025-07-28 18:25:48 -04:00
src avr: Switch to input state prior to enabling pullup in gpio_in_reset() 2025-07-22 14:11:17 -04:00
test pca9632: Remove custom software i2c - use normal mcu software i2c instead 2025-07-22 14:04:50 -04:00
.gitignore util: Fix versioning when gitdir is absent (#809) 2018-10-27 10:44:38 -04:00
COPYING COPYING: Update GPLv3 license to latest text (uses https instead of http) 2022-06-03 11:28:44 -04:00
Makefile Revert "Makefile: Don't disable gcc's use-linker-plugin option" 2025-04-16 15:24:05 -04:00
README.md docs: Improve wording of main Klipper page 2025-01-21 18:54:00 -05:00

Welcome to the Klipper project!

Klipper

https://www.klipper3d.org/

The Klipper firmware controls 3d-Printers. It combines the power of a general purpose computer with one or more micro-controllers. See the features document for more information on why you should use the Klipper software.

Start by installing Klipper software.

Klipper software is Free Software. See the license or read the documentation. We depend on the generous support from our sponsors.