Skip to content

Commit 80fbdd8

Browse files
committed
Clear session after stop
1 parent 194d18c commit 80fbdd8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

LLSimpleCamera/LLSimpleCamera.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@ - (void)initialize
295295
- (void)stop
296296
{
297297
[self.session stopRunning];
298+
self.session = nil;
298299
}
299300

300301

0 commit comments

Comments
 (0)