Skip to content

Commit

Permalink
fixed bug: implementing the virtual function 'Finalize' in class NFIP…
Browse files Browse the repository at this point in the history
…lugin
  • Loading branch information
ketoo committed Oct 12, 2017
1 parent d622c63 commit abe88e7
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions NFComm/NFPluginModule/NFIPlugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,19 @@ class NFIPlugin : public NFIModule,
return true;
}

virtual bool Finalize()
{
NFIModule* pModule = First();
while (pModule)
{
pModule->Finalize();

pModule = Next();
}

return true;
}

virtual bool OnReloadPlugin()
{
NFIModule* pModule = First();
Expand Down

0 comments on commit abe88e7

Please sign in to comment.