Skip to content
This repository was archived by the owner on Aug 28, 2020. It is now read-only.

Commit 1100611

Browse files
committed
clear all connections when cleaning up the debugging session, just to be on the safe side
1 parent 55dd39c commit 1100611

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pugdebug/debugger.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ def cleanup(self):
103103
"""
104104
if self.is_connected():
105105
self.current_connection.disconnect()
106+
self.connections.clear()
106107
self.server.stop()
107108

108109
self.current_connection = None

0 commit comments

Comments
 (0)