FaceTrigger icon indicating copy to clipboard operation
FaceTrigger copied to clipboard

Memory Leak when Stopping

Open ClassicalDude opened this issue 5 years ago • 0 comments

Hi, thanks for the great project!

The moment you start using face trigger, memory usage jumps up about 200MBs, which is to be expected. However, calling faceTrigger.stop() does not make the memory footprint drop back.

It seems that adding sceneView = nil right after removing it from its superview does the trick.

ClassicalDude avatar Apr 16 '21 20:04 ClassicalDude