github opensensor/lightNVR 0.41.8
Release 0.41.8

4 hours ago

🤖 AI-Generated Changelog

Added

  • Added an independent background-abort flag to allow in-progress operations to be cancelled during restart or shutdown

Fixed

  • Fixed a shutdown hang caused by alarm()-based watchdog collisions; the shutdown watchdog is now thread-based and collision-free
  • Fixed the same alarm() collision bug in the /api/system/shutdown API endpoint
  • Fixed scheduled database backups not aborting cleanly during restart or shutdown, preventing hangs
  • Fixed process memory and thread count always reporting as unavailable in system info
  • Fixed database backup verification incorrectly logging an error when an expected abort occurred
  • Fixed WAL-index locks not being preserved during database backups, which could cause corruption
  • Fixed uninitialized local config struct in rebuild_recordings tool that could cause undefined behavior

Changed

  • Replaced the alarm()-based shutdown watchdog with a dedicated thread for more reliable and predictable shutdown behavior
  • Wired background-abort requests into the real signal handler for correct daemon behavior

🔗 Full Changelog: 0.41.7...0.41.8

Don't miss a new lightNVR release

NewReleases is sending notifications on new releases.