mirror of
https://github.com/kunkundi/crossdesk.git
synced 2026-05-11 22:51:22 +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_) {
|
for (auto &session : sessions_) {
|
||||||
if (session.session_) {
|
if (session.session_) {
|
||||||
session.session_->Stop();
|
session.session_->Stop();
|
||||||
session.session_->Release();
|
|
||||||
session.session_ = nullptr;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
sessions_.clear();
|
sessions_.clear();
|
||||||
|
|||||||
Vendored
+1
-1
Submodule thirdparty/projectx updated: 364abfd8da...0e6650a460
Reference in New Issue
Block a user