-
-
Notifications
You must be signed in to change notification settings - Fork 47
Description
Hi,
I'm currently working on a module called sys-con and would like to enable/disable it using OVL-Sysmodule. However, I’ve noticed that OVL-Sysmodule does not properly close the sysmodule (pmshellTerminateProgram) and doesn’t provide a way for the sysmodule to shut down gracefully. (If I’ve missed something, please feel free to correct me).
This behavior is problematic because the sys-con module relies on hiddbgAttachHdlsWorkBuffer, which must be properly deinitialized to prevent issues. Without a graceful shutdown mechanism, this will cause the console to crash, as described in this GitHub issue: sys-con issue #52.
Do you think it would be possible to implement an event or signal, such as a 1-second notification before terminating the sysmodule, to let a chance to the sysmodule to close gracefully? (Example: In the toolbox.json a kind of gracefully_shutdown_delay: 1 where 1 means 1s to terminate before killing it)
Thank you