summaryrefslogtreecommitdiff
path: root/test/run_input.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/run_input.cxx')
-rw-r--r--test/run_input.cxx12
1 files changed, 4 insertions, 8 deletions
diff --git a/test/run_input.cxx b/test/run_input.cxx
index f81a8bc77..e5deafda8 100644
--- a/test/run_input.cxx
+++ b/test/run_input.cxx
@@ -108,18 +108,14 @@ class GlobalInit {
const ScopeArchivePluginsInit archive_plugins_init;
#endif
+ const ScopeInputPluginsInit input_plugins_init;
+
public:
explicit GlobalInit(Path config_path)
- :config(AutoLoadConfigFile(config_path))
+ :config(AutoLoadConfigFile(config_path)),
+ input_plugins_init(config, io_thread.GetEventLoop())
{
io_thread.Start();
-
- input_stream_global_init(config,
- io_thread.GetEventLoop());
- }
-
- ~GlobalInit() {
- input_stream_global_finish();
}
};