mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-26 20:25:34 +08:00
[fix] fix program cannot exit when click close button due to screen capture thread is running
This commit is contained in:
@@ -78,6 +78,7 @@ class ScreenCapturerX11 : public ScreenCapturer {
|
||||
|
||||
// thread
|
||||
std::unique_ptr<std::thread> capture_thread_ = nullptr;
|
||||
std::atomic_bool running_;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user