mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-08-10 00:52:16 +00:00
Fix hanging when switching monitors
This commit is contained in:
@@ -695,10 +695,7 @@ void captureThread(
|
||||
return;
|
||||
}
|
||||
|
||||
{
|
||||
auto lg = display_wp.lock();
|
||||
display_wp = disp;
|
||||
}
|
||||
display_wp = disp;
|
||||
|
||||
// Re-allocate images
|
||||
for(auto &img : imgs) {
|
||||
|
||||
Reference in New Issue
Block a user