We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a5fbd8 commit 712224eCopy full SHA for 712224e
pytest_localserver/smtp.py
@@ -130,7 +130,7 @@ def stop(self, timeout=None):
130
# be called more than once safely
131
# - It passes the timeout argument to Thread.join()
132
if self.loop.is_running():
133
- self.loop.call_soon_threadsafe(self._stop)
+ self.loop.call_soon_threadsafe(self.cancel_tasks)
134
if self._thread is not None:
135
self._thread.join(timeout)
136
self._thread = None
0 commit comments