mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-04-21 01:33:36 +00:00
Remove unnecessary synchronization
The `videoSize` field is never written while holding the mutex, and is only accessed from the same thread.
This commit is contained in:
parent
66005e8889
commit
fe9450afcc
1 changed files with 1 additions and 1 deletions
|
|
@ -241,7 +241,7 @@ public class NewDisplayCapture extends SurfaceCapture {
|
|||
}
|
||||
|
||||
@Override
|
||||
public synchronized Size getSize() {
|
||||
public Size getSize() {
|
||||
return videoSize;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue