core: Add core :: deinit() function
Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
This commit is contained in:
parent
a5963a553e
commit
ad5726b542
|
@ -21,3 +21,9 @@ void core :: init()
|
||||||
deck :: init();
|
deck :: init();
|
||||||
audio :: init();
|
audio :: init();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void core :: deinit()
|
||||||
|
{
|
||||||
|
filter_deinit();
|
||||||
|
tags_deinit();
|
||||||
|
}
|
||||||
|
|
|
@ -58,5 +58,7 @@ int main(int argc, char **argv)
|
||||||
ocarina_app->run(*window);
|
ocarina_app->run(*window);
|
||||||
cleanup_tabs();
|
cleanup_tabs();
|
||||||
gst :: quit();
|
gst :: quit();
|
||||||
|
core :: deinit();
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,6 +15,7 @@ namespace core
|
||||||
* databases from disk and setting up gstreamer.
|
* databases from disk and setting up gstreamer.
|
||||||
*/
|
*/
|
||||||
void init();
|
void init();
|
||||||
|
void deinit();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue