diff options
Diffstat (limited to 'test/dump_text_file.cxx')
-rw-r--r-- | test/dump_text_file.cxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/test/dump_text_file.cxx b/test/dump_text_file.cxx index df2e99c96..18cdc7061 100644 --- a/test/dump_text_file.cxx +++ b/test/dump_text_file.cxx @@ -38,21 +38,19 @@ class GlobalInit { EventThread io_thread; +#ifdef ENABLE_ARCHIVE + const ScopeArchivePluginsInit archive_plugins_init; +#endif + public: GlobalInit() { io_thread.Start(); -#ifdef ENABLE_ARCHIVE - archive_plugin_init_all(); -#endif input_stream_global_init(ConfigData(), io_thread.GetEventLoop()); } ~GlobalInit() { input_stream_global_finish(); -#ifdef ENABLE_ARCHIVE - archive_plugin_deinit_all(); -#endif } }; |