zmMemVerify attaches, so we need to zmMemInvalidate even if the shared data is no good
This commit is contained in:
parent
4d84387807
commit
faeb785961
|
@ -474,7 +474,11 @@ sub loadTasks
|
|||
or Fatal( "Can't execute: ".$sth->errstr() );
|
||||
while( my $monitor = $sth->fetchrow_hashref() )
|
||||
{
|
||||
next if ( !zmMemVerify( $monitor ) ); # Check shared memory ok
|
||||
# Check shared memory ok
|
||||
if ( !zmMemVerify( $monitor ) ) {
|
||||
zmMemInvalidate( $monitor );
|
||||
next ;
|
||||
}
|
||||
|
||||
$monitor_hash{$monitor->{Id}} = $monitor;
|
||||
|
||||
|
|
Loading…
Reference in New Issue