added plugin unload and cleanup #4313

This commit is contained in:
XinyuHou 2015-01-27 10:42:10 +00:00
parent 10cddb97a8
commit 85813fd49b
16 changed files with 86 additions and 19 deletions

View file

@ -79,7 +79,7 @@ invoke(const char* command, void** args)
}
}
int
void
cleanup()
{
if (g_secureSocket != NULL) {
@ -89,8 +89,6 @@ cleanup()
if (g_secureListenSocket != NULL) {
delete g_secureListenSocket;
}
return 0;
}
}