mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-20 14:16:10 +00:00
Subprocesses were not cleaned up, in particular. * Rename SerenaAgent.shutdown to on_shutdown, because it is really a shutdown handler; it did not perform a shutdown. * Add new method shutdown which is now called from both sites (and which performs the full shutdown) * Manage the process instance used for the dashboard viewer and shut it down explicitly. * Initialise all variables used during shutdown immeditaly (avoiding errors when shutdown is triggered during init)