Added proper shutdown of the plugins with remove of the service and dlcose of the plugin handle.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8493 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2015-06-16 14:20:59 +00:00
parent bfab3622ec
commit 5f4e465a09
8 changed files with 49 additions and 19 deletions

View file

@ -51,11 +51,9 @@ extern "C" {
// - always respect the C linkage convention
// - always return an object of type RsPlugin*
//
void *RETROSHARE_PLUGIN_provide()
RsPlugin *RETROSHARE_PLUGIN_provide()
{
static VOIPPlugin *p = new VOIPPlugin() ;
return (void*)p ;
return new VOIPPlugin() ;
}
// This symbol contains the svn revision number grabbed from the executable.