vici: Cancel processor before calling library_deinit()
For non-direct libstrongswan users, the deinitialization segfaults because of the missing worker thread cancellation.
This commit is contained in:
parent
3db58e837c
commit
d4d85135c5
|
@ -762,5 +762,6 @@ void vici_init()
|
|||
|
||||
void vici_deinit()
|
||||
{
|
||||
lib->processor->cancel(lib->processor);
|
||||
library_deinit();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue