mirror of
https://github.com/LizardByte/Sunshine.git
synced 2026-12-04 22:32:10 +09:00
Fix hanging when switching monitors
This commit is contained in:
1 parent
869b6ed89d
commit
0f4cdc2d21
1 file changed
+1
-4
+1
-4
@@ -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