Fixed: segv on exit
Test: rm openconfig-interface
This commit is contained in:
parent
0ec1e0a686
commit
d5a8d6b6e1
3 changed files with 2 additions and 210 deletions
|
|
@ -141,11 +141,11 @@ backend_terminate(clixon_handle h)
|
|||
unlink(pidfile);
|
||||
if (sockfamily==AF_UNIX && lstat(sockpath, &st) == 0)
|
||||
unlink(sockpath);
|
||||
backend_handle_exit(h); /* Also deletes streams. Cannot use h after this. */
|
||||
clixon_event_exit();
|
||||
clixon_debug(CLIXON_DBG_CLIENT, "%s done", __FUNCTION__);
|
||||
clixon_err_exit();
|
||||
clixon_log_exit();
|
||||
backend_handle_exit(h); /* Also deletes streams. Cannot use h after this. */
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue