core: Add core :: deinit() function

Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
This commit is contained in:
Anna Schumaker 2015-11-12 10:45:30 -05:00
parent a5963a553e
commit ad5726b542
3 changed files with 9 additions and 0 deletions

View File

@ -21,3 +21,9 @@ void core :: init()
deck :: init();
audio :: init();
}
void core :: deinit()
{
filter_deinit();
tags_deinit();
}

View File

@ -58,5 +58,7 @@ int main(int argc, char **argv)
ocarina_app->run(*window);
cleanup_tabs();
gst :: quit();
core :: deinit();
return 0;
}

View File

@ -15,6 +15,7 @@ namespace core
* databases from disk and setting up gstreamer.
*/
void init();
void deinit();
}