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:
1 parent
3db58e837c
commit
d4d85135c5
1 file changed
+1
@@ -762,5 +762,6 @@ void vici_init()
|
|||||||
|
|
||||||
void vici_deinit()
|
void vici_deinit()
|
||||||
{
|
{
|
||||||
|
lib->processor->cancel(lib->processor);
|
||||||
library_deinit();
|
library_deinit();
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user