Skip to content

Conversation

@extinguish
Copy link
Contributor

@extinguish extinguish commented Jan 13, 2026

Summary

Implemented CU exit logic following the pattern used in the top command, using a local cu_globals_s instance to manage the CU exit process.

Impact

Introduces a more controlled CU exit mechanism, enhancing program stability and predictability during shutdown, and preventing potential resource leaks.

Testing

Verified that CU compiles and runs correctly in a local environment, with the exit process behaving as expected.

using the local cu_globals_s instance to manange the cu exit procedure

Signed-off-by: guoshichao <[email protected]>
@xiaoxiang781216
Copy link
Contributor

@extinguish remove the merge patch

@extinguish extinguish force-pushed the refactor_cu branch 2 times, most recently from 176671e to 63ce1a2 Compare January 18, 2026 09:00
@extinguish
Copy link
Contributor Author

@extinguish remove the merge patch

is removed in new patchset

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants