framework: Clean up task manager on close_framework()

This prevents crashes due to the tasks it spawns continuing to run
This commit is contained in:
rdb 2024-11-26 18:16:01 +01:00
parent ff3e7da752
commit a32030d46e
1 changed files with 2 additions and 0 deletions

View File

@ -204,6 +204,8 @@ close_framework() {
_event_handler.remove_all_hooks();
_task_mgr.cleanup();
_is_open = false;
_made_default_pipe = false;
_default_pipe.clear();