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

Commit 4c170d9

Browse files
committed
make sure to always stop the server when cleaning up, not only when we have an active connection
1 parent 59531fa commit 4c170d9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pugdebug/debugger.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ def cleanup(self):
104104
if self.is_connected():
105105
self.current_connection.disconnect()
106106
self.connections.clear()
107-
self.server.stop()
107+
108+
self.server.stop()
108109

109110
self.current_connection = None
110111
self.step_result = ''

0 commit comments

Comments
 (0)