mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 22:25:04 -04:00
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:
parent
bfab3622ec
commit
5f4e465a09
8 changed files with 49 additions and 19 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue