Skip to content

Commit 9365b14

Browse files
author
Tony Crisci
authored
Merge pull request #114 from whot/wip/source-destroy
glib: destroy the _AuthLineSource explicitly
2 parents 0eb0b7f + 445bc2c commit 9365b14

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dbus_next/glib/message_bus.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ def line_notify(line):
457457
self._stream.write(Authenticator._format_line(resp))
458458
self._stream.flush()
459459
if resp == 'BEGIN':
460-
self._readline_source = None
460+
self._readline_source.destroy()
461461
authenticate_notify(None)
462462
return True
463463
except Exception as e:

0 commit comments

Comments
 (0)