Fix hanging when switching monitors
This commit is contained in:
@@ -695,10 +695,7 @@ void captureThread(
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
|
||||||
auto lg = display_wp.lock();
|
|
||||||
display_wp = disp;
|
display_wp = disp;
|
||||||
}
|
|
||||||
|
|
||||||
// Re-allocate images
|
// Re-allocate images
|
||||||
for(auto &img : imgs) {
|
for(auto &img : imgs) {
|
||||||
|
|||||||
Reference in New Issue
Block a user