Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
mobile_scanner
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Julian Steenbakker
2023-07-04 12:57:18 +0200
Browse Files
Options
Browse Files
Download
Plain Diff
Committed by
GitHub
2023-07-04 12:57:18 +0200
Commit
0ba4c92c5d846e87eaa3f3ab5a6c8120fd449cc6
0ba4c92c
2 parents
95771fd0
0b011e18
Merge pull request #640 from FlockiiX/ios-buffer-fix
fix: Fixes issue #634
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
ios/Classes/MobileScanner.swift
ios/Classes/MobileScanner.swift
View file @
0ba4c92
...
...
@@ -227,6 +227,8 @@ public class MobileScanner: NSObject, AVCaptureVideoDataOutputSampleBufferDelega
for
output
in
captureSession
.
outputs
{
captureSession
.
removeOutput
(
output
)
}
latestBuffer
=
nil
device
.
removeObserver
(
self
,
forKeyPath
:
#
keyPath
(
AVCaptureDevice
.
torchMode
))
device
.
removeObserver
(
self
,
forKeyPath
:
#
keyPath
(
AVCaptureDevice
.
videoZoomFactor
))
registry
?
.
unregisterTexture
(
textureId
)
...
...
Please
register
or
login
to post a comment