Build and packaging library
  • Python 54.1%
  • Makefile 33.7%
  • Shell 12.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jan Lindemann 157fa86fb7
lib.App: Release async runner in close()
close() closes the application's own event loop, but the AsyncRunner
is only released in the finally block of run(). An application that
creates a runner through call_async() and then calls close(), for
instance through the async context manager, therefore leaks the
runner, and close() does not fulfill its contract of releasing all
resources.

Move the AsyncRunner cleanup from the finally block of run() into
close() and reset the own-loop flag when the loop is closed, so that
close() releases everything and run() only has to call it.

Assisted-by: unsloth/Qwen3.8-27B-GGUF:Q4_K_M with pi.dev v0.84.2
Signed-off-by: Jan Lindemann <jan@janware.com>
2026-08-15 15:58:46 +02:00
.github/workflows ci.yaml: test-packaging.yaml@{master-test -> master} 2026-06-08 19:43:15 +02:00
bin bin, make, scripts: Re-add files necessary for packaging jw-build 2025-11-14 11:22:50 +01:00
conf py-check.mk: Run isort with "make format" 2026-08-11 16:45:14 +02:00
make projects-dir.mk: Add diff-projects target 2026-08-11 16:45:14 +02:00
scripts cache.mk: Include from topdir.mk, not make.mk 2026-07-22 14:38:24 +02:00
src lib.App: Release async runner in close() 2026-08-15 15:58:46 +02:00
test lib.App: Make default log values overridable 2026-08-10 20:26:40 +02:00
.gitignore cache.mk: Include from topdir.mk, not make.mk 2026-07-22 14:38:24 +02:00
HASH Release 1.0.0-252@suse-tumbleweed/x86_64 2026-08-12 03:57:37 +00:00
Makefile cache.mk: Include from topdir.mk, not make.mk 2026-07-22 14:38:24 +02:00
RELEASES Release 1.0.0-252@suse-tumbleweed/x86_64 2026-08-12 03:57:37 +00:00
VERSION Start version: 1.0.0-252 2026-08-12 03:32:24 +00:00