Files
Mustafa Kemal Gilor 7e80dce5d3 invoke hookenv._run_atexit() when action ends
the registered callbacks for `atexit()` were not executing due to
`_run_atexit()` is not being called, the `ch_core.hookenv._run_atexit()`
function is now explicitly called when action ends. also moved
`ch_core.hookenv._run_atstart()` call to `main()` for consistency.

Closes-bug: #1976169

Signed-off-by: Mustafa Kemal Gilor <mustafa.gilor@canonical.com>
Change-Id: I2b976af908dd6ae6248f405fa6980beef0554be5
2022-06-24 10:45:28 +03:00
..