fixed discovery
This commit is contained in:
parent
d99a76ad42
commit
6577de7e98
@ -30,6 +30,7 @@ func GetInstance(zone *types.DiscoveryZone) (*PcapWrapper, error) {
|
|||||||
m.Unlock()
|
m.Unlock()
|
||||||
return p, nil
|
return p, nil
|
||||||
}
|
}
|
||||||
|
p.incRefCount()
|
||||||
m.Unlock()
|
m.Unlock()
|
||||||
return p, nil
|
return p, nil
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user