Unload application modules before closing modules
This commit is contained in:
@@ -95,6 +95,7 @@ static void signal_handler(int sig)
|
|||||||
static bool term = false;
|
static bool term = false;
|
||||||
|
|
||||||
if (term) {
|
if (term) {
|
||||||
|
module_app_unload();
|
||||||
mod_close();
|
mod_close();
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user