stream: create library instance of stream-manager

This commit is contained in:
Martin Willi
2013-07-18 16:00:28 +02:00
parent d6ff53940f
commit 2ba276017d
5 changed files with 13 additions and 5 deletions
+2
View File
@@ -80,6 +80,7 @@ void library_deinit()
/* make sure the cache is clear before unloading plugins */
lib->credmgr->flush_cache(lib->credmgr, CERT_ANY);
this->public.streams->destroy(this->public.streams);
this->public.watcher->destroy(this->public.watcher);
this->public.scheduler->destroy(this->public.scheduler);
this->public.processor->destroy(this->public.processor);
@@ -268,6 +269,7 @@ bool library_init(char *settings)
this->public.processor = processor_create();
this->public.scheduler = scheduler_create();
this->public.watcher = watcher_create();
this->public.streams = stream_manager_create();
this->public.plugins = plugin_loader_create();
if (!check_memwipe())