mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1017022 - call close() on a valid object, r=jgriffin
This commit is contained in:
parent
fc69bdee3c
commit
a87db6b02f
@ -103,5 +103,6 @@ class MarionetteTransport(object):
|
||||
def close(self):
|
||||
""" Close the socket.
|
||||
"""
|
||||
self.sock.close()
|
||||
if self.sock:
|
||||
self.sock.close()
|
||||
self.sock = None
|
||||
|
Loading…
Reference in New Issue
Block a user