Skip to content

Commit

Permalink
fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
leng-yue committed Oct 26, 2022
1 parent 01b2e65 commit c32e539
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scrcpy/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,19 +202,19 @@ def stop(self) -> None:
if self.__server_stream is not None:
try:
self.__server_stream.close()
except:
except Exception:
pass

if self.control_socket is not None:
try:
self.control_socket.close()
except:
except Exception:
pass

if self.__video_socket is not None:
try:
self.__video_socket.close()
except:
except Exception:
pass

def __stream_loop(self) -> None:
Expand Down

0 comments on commit c32e539

Please sign in to comment.