Fix crash on macOS when closing window with preview active (#454)

pull/455/head
kitten 2023-12-13 14:29:52 -08:00 zatwierdzone przez GitHub
rodzic 779bb3746a
commit 847a884e56
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -9,7 +9,8 @@
- Improve error messages for 24-bit WAV files (#443) - Improve error messages for 24-bit WAV files (#443)
- Add end time field to GUI (#451) - Add end time field to GUI (#451)
- Change GUI render divisor to 4 decimal places (#451) - Change GUI render divisor to 4 decimal places (#451)
- Fix crash with pitch tracking on low-sample-rate channels (#453) - Fix crash with pitch tracking on low-sample-rate channels (#453)
- Fix crash on macOS when closing window with preview active (#454)
## 0.8.1 ## 0.8.1

Wyświetl plik

@ -307,7 +307,7 @@ class MainWindow(qw.QMainWindow, Ui_MainWindow):
# But since the dialog is modal, # But since the dialog is modal,
# self.corr_thread cannot have been replaced by a different thread. # self.corr_thread cannot have been replaced by a different thread.
if self.corr_thread is not None: if self.corr_thread is not None:
self.corr_thread.abort_terminate() self.corr_thread.job.abort_terminate()
return True return True
return False return False