freetdm: call on_unload when unloading the boost sig shared library

This commit is contained in:
Moises Silva committed 2010-05-12 11:49:16 -04:00
1 parent d4bb8b019e
commit 41f72fe42a
3 files changed
+3 -2

No files matched your search

@@ -2149,6 +2149,7 @@ static FIO_SIG_UNLOAD_FUNCTION(ftdm_sangoma_boost_destroy)
sigmod = val;
lib = sigmod->pvt;
ftdm_log(FTDM_LOG_DEBUG, "destroying sigmod %s\n", sigmod->name);
sigmod->on_unload();
ftdm_dso_destroy(&lib);
}
}