Fix crash introduced with #559, fix hanging thread at application termination

This commit is contained in:
vsonnier
2017-08-25 18:52:33 +02:00
parent a018a36100
commit ebca762ea8
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ void FFTVisualDataThread::run() {
fftDistrib.run();
// Make wproc do a FFT of each of the sample sets provided by fftDistrib:
while (!wproc.isInputEmpty()) {
while (!stopping && !wproc.isInputEmpty()) {
wproc.run();
}
}