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
FlockiiX
2023-05-23 16:59:14 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a59308769573f7aa2ce13df0873d702d917da9d6
a5930876
1 parent
38b40579
mobile_scanner: fix ios buffer bug
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 @
a593087
...
...
@@ -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