Verified Commit 298336b9 authored by Mateusz Żebrak's avatar Mateusz Żebrak
Browse files

Change the place where startup/shutdown actions are done due to log leak

Since Textual 0.80.0, all calls to textual logger done before active_app
ContextVar is set are being printed out to the terminal so logs are
visible after app is closed.

And this ContextVar is set only when app is running. We should do
startup and cleanup actions when TUI is already launched.

Still there is an issue which causes log leak from on_unmount:
https://github.com/Textualize/textual/issues/5091
parent bdf498d5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment