mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-26 20:25:34 +08:00
[fix] fix ScreenCapturerWgc crash during clean up
This commit is contained in:
@@ -264,8 +264,6 @@ void ScreenCapturerWgc::CleanUp() {
|
||||
for (auto &session : sessions_) {
|
||||
if (session.session_) {
|
||||
session.session_->Stop();
|
||||
session.session_->Release();
|
||||
session.session_ = nullptr;
|
||||
}
|
||||
}
|
||||
sessions_.clear();
|
||||
|
||||
Reference in New Issue
Block a user