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 committed 2022-04-14 08:33:24 +02:00
1 parent 6a21ac55ad
commit 7d831170ae
5 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -197,8 +197,8 @@ PLUGIN_INIT(plugin_init)
PLUGIN_EXIT(plugin_exit)
{
iwatch_exit(&iw_sys);
plugin_unregister(&plugin);
iwatch_exit(&iw_sys);
}
/**