File tree 2 files changed +3
-5
lines changed 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 3
3
<see Git checking messages for history>
4
4
5
5
3.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)
7
7
8
8
3.3.0 2018/09/04
9
9
- 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):
148
148
149
149
def __del__(self):
150
150
# type: () -> None
151
- """ Disconnect from X server and clean -up locals . """
151
+ """ Clean -up. """
152
152
153
+ # Disconnect from the X server
153
154
try:
154
155
self.xlib.XCloseDisplay(self.display)
155
156
except AttributeError:
156
157
pass
157
158
158
- for attr in list(vars(self)):
159
- delattr(self, attr)
160
-
161
159
def __init__(self, display=None):
162
160
# type: (bytes) -> None
163
161
""" GNU/Linux initialisations. """
You can’t perform that action at this time.
0 commit comments