plugins: close/exit iwatch *after* event loop has been detached

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2022-04-14 08:33:24 +02:00
parent 6a21ac55ad
commit 7d831170ae
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -123,8 +123,8 @@ PLUGIN_INIT(plugin_init)
PLUGIN_EXIT(plugin_exit)
{
iwatch_exit(&iw_usr);
plugin_unregister(&plugin);
iwatch_exit(&iw_usr);
}
/**