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:
Martin Willi
2014-10-10 11:42:18 +02:00
parent 3db58e837c
commit d4d85135c5
+1
View File
@@ -762,5 +762,6 @@ void vici_init()
void vici_deinit()
{
lib->processor->cancel(lib->processor);
library_deinit();
}