mirror of
https://github.com/Garmelon/PFERD.git
synced 2023-12-21 10:23:01 +01:00
552cd82802
Previously, it ran in the event loop's default executor, which would block until all its workers were done working. If Ctrl+C was pressed while input or a password were being read, the asyncio.run() call in the main thread would be interrupted however, not the input thread. This meant that multiple key presses (either enter or a second Ctrl+C) were necessary to stop a running PFERD in some circumstances. This change instead runs the input functions in daemon threads so they exit as soon as the main thread exits. |
||
---|---|---|
.. | ||
authenticators | ||
cli | ||
crawlers | ||
__init__.py | ||
__main__.py | ||
authenticator.py | ||
config.py | ||
crawler.py | ||
limiter.py | ||
logging.py | ||
output_dir.py | ||
pferd.py | ||
report.py | ||
transformer.py | ||
utils.py | ||
version.py |