diff options
Diffstat (limited to 'test/dump_text_file.cxx')
-rw-r--r-- | test/dump_text_file.cxx | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/test/dump_text_file.cxx b/test/dump_text_file.cxx index 18cdc7061..ab3ccf12a 100644 --- a/test/dump_text_file.cxx +++ b/test/dump_text_file.cxx @@ -42,15 +42,13 @@ class GlobalInit { const ScopeArchivePluginsInit archive_plugins_init; #endif + const ScopeInputPluginsInit input_plugins_init; + public: - GlobalInit() { + GlobalInit() + :input_plugins_init(ConfigData(), io_thread.GetEventLoop()) + { io_thread.Start(); - input_stream_global_init(ConfigData(), - io_thread.GetEventLoop()); - } - - ~GlobalInit() { - input_stream_global_finish(); } }; |