Fix call to onCloseEvent
This commit is contained in:
parent
7906307580
commit
a7b912b1b5
|
@ -3119,8 +3119,10 @@ bool Monitor::closeEvent()
|
|||
if ( function == RECORD || function == MOCORD )
|
||||
{
|
||||
gettimeofday( &(event->EndTime()), NULL );
|
||||
if ( config.load_plugins )
|
||||
ThePluginManager.getImageAnalyser().onCloseEvent( zones, event );
|
||||
}
|
||||
if ( config.load_plugins && ( purpose == ANALYSIS ) )
|
||||
{
|
||||
ThePluginManager.getImageAnalyser().onCloseEvent( zones, event );
|
||||
}
|
||||
delete event;
|
||||
event = 0;
|
||||
|
|
Loading…
Reference in New Issue