File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 33<see Git checking messages for history>
44
553.3.1 2018/xx/xx
6- - Linux: fix a memory leak introduced with 7e8ae5703f0669f40532c2be917df4328bc3985e
6+ - Linux: fix a memory leak introduced with 7e8ae5703f0669f40532c2be917df4328bc3985e (fixes #72)
77
883.3.0 2018/09/04
99 - Linux: add an error handler for the XServer to prevent interpreter crash (fix #61)
Original file line number Diff line number Diff line change @@ -148,16 +148,14 @@ class MSS(MSSBase):
148148
149149 def __del__ (self ):
150150 # type: () -> None
151- """ Disconnect from X server and clean -up locals . """
151+ """ Clean -up. """
152152
153+ # Disconnect from the X server
153154 try :
154155 self .xlib .XCloseDisplay (self .display )
155156 except AttributeError :
156157 pass
157158
158- for attr in list (vars (self )):
159- delattr (self , attr )
160-
161159 def __init__ (self , display = None ):
162160 # type: (bytes) -> None
163161 """ GNU/Linux initialisations. """
You can’t perform that action at this time.
0 commit comments