daemon: Flush shunts before unloading plugins

This commit is contained in:
Tobias Brunner
2015-07-27 13:51:17 +02:00
parent bc36530670
commit c04345d5ed
+4
View File
@@ -462,6 +462,10 @@ static void destroy(private_daemon_t *this)
{
this->public.traps->flush(this->public.traps);
}
if (this->public.shunts)
{
this->public.shunts->flush(this->public.shunts);
}
if (this->public.sender)
{
this->public.sender->flush(this->public.sender);