mirror of
https://github.com/thinkonmay/sunshine-sdk.git
synced 2025-12-30 17:49:07 +00:00
Fix hanging when switching monitors
This commit is contained in:
parent
869b6ed89d
commit
0f4cdc2d21
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user