Skip to content

Commit abe88e7

Browse files
committed
fixed bug: implementing the virtual function 'Finalize' in class NFIPlugin
1 parent d622c63 commit abe88e7

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

NFComm/NFPluginModule/NFIPlugin.h

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,19 @@ class NFIPlugin : public NFIModule,
173173
return true;
174174
}
175175

176+
virtual bool Finalize()
177+
{
178+
NFIModule* pModule = First();
179+
while (pModule)
180+
{
181+
pModule->Finalize();
182+
183+
pModule = Next();
184+
}
185+
186+
return true;
187+
}
188+
176189
virtual bool OnReloadPlugin()
177190
{
178191
NFIModule* pModule = First();

0 commit comments

Comments
 (0)