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:
parent
3159824789
commit
913fcde3ae
@ -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)
|
||||
{
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user