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

Commit 0f2cd3f

Browse files
committed
Do not stop the server when cleaning up
This stops the server from listening for new incoming connections at the incorrect time, missing out on new incoming connections.
1 parent ad01b76 commit 0f2cd3f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pugdebug/debugger.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,6 @@ def cleanup(self):
142142
self.current_connection.disconnect()
143143
self.connections.clear()
144144

145-
self.server.stop()
146-
147145
self.current_connection = None
148146
self.step_result = ''
149147
self.current_file = ''
@@ -246,7 +244,6 @@ def handle_stopped(self):
246244
self.start_new_connection()
247245
else:
248246
self.cleanup()
249-
250247
self.debugging_stopped_signal.emit()
251248

252249
def run_debug(self):

0 commit comments

Comments
 (0)