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

@ -44,11 +44,9 @@ extern "C" {
#ifdef WIN32
__declspec(dllexport)
#endif
void *RETROSHARE_PLUGIN_provide()
RsPlugin *RETROSHARE_PLUGIN_provide()
{
static FeedReaderPlugin *p = new FeedReaderPlugin();
return (void*)p;
return new FeedReaderPlugin();
}
// This symbol contains the svn revision number grabbed from the executable.