mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-26 20:25:34 +08:00
[fix] fix SCStream stop error
This commit is contained in:
@@ -280,7 +280,6 @@ int ScreenCapturerSckImpl::Destroy() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int ScreenCapturerSckImpl::Stop() {
|
int ScreenCapturerSckImpl::Stop() {
|
||||||
[stream_ stopCaptureWithCompletionHandler:nil];
|
|
||||||
std::lock_guard<std::mutex> lock(lock_);
|
std::lock_guard<std::mutex> lock(lock_);
|
||||||
if (stream_) {
|
if (stream_) {
|
||||||
LOG_INFO("Stopping stream");
|
LOG_INFO("Stopping stream");
|
||||||
|
|||||||
Reference in New Issue
Block a user