1
1
mirror of https://github.com/profanity-im/profanity.git synced 2025-01-03 14:57:42 -05:00

Added shutdown functions for plugins langs

This commit is contained in:
James Booth 2013-09-01 20:44:05 +01:00
parent 3159824789
commit 913fcde3ae
2 changed files with 8 additions and 0 deletions

View File

@ -135,6 +135,12 @@ c_on_message_send_hook(ProfPlugin *plugin, const char * const jid, const char *m
}
void
c_shutdown(void)
{
}
void
c_close_library (ProfPlugin * plugin)
{

View File

@ -161,6 +161,8 @@ plugins_shutdown(void)
GSList *curr = plugins;
python_shutdown();
ruby_shutdown();
c_shutdown();
//FIXME do we need to clean the plugins list?
//for the time being I'll just call dlclose for