diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2026-07-05 09:57:29 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2026-07-05 09:57:29 +0300 |
| commit | 822d5f2df9f64fcc2ac4b726a7214335d7161bf4 (patch) | |
| tree | bac7e98e6a45c2f5916d85314e79311a46d3b24e | |
| parent | 83a535270f1eb486cdce82a4f9062b49977e8426 (diff) | |
| download | fungus-launcher-822d5f2df9f64fcc2ac4b726a7214335d7161bf4.tar.gz fungus-launcher-822d5f2df9f64fcc2ac4b726a7214335d7161bf4.tar.xz | |
deal with infinite callback spin without sleep while callback is active
| -rw-r--r-- | fungus/proton_manager.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fungus/proton_manager.py b/fungus/proton_manager.py index e726cfc..c8be518 100644 --- a/fungus/proton_manager.py +++ b/fungus/proton_manager.py @@ -419,7 +419,7 @@ def download_and_extract( button_update_callback("Extracting...") while pending_callback and pending_callback(): - pass + time.sleep(0.01) mode = "r:xz" if tar_file_path.endswith(".tar.xz") else "r:gz" |
