Skip to content

Commit

Permalink
#1506 additional changes attempting to resolve issue where tuner samp…
Browse files Browse the repository at this point in the history
…le processing threads just stop (polyphase channelizer).
  • Loading branch information
Denny Sheirer committed Mar 26, 2023
1 parent c7ed803 commit d3f9833
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,17 @@
import io.github.dsheirer.properties.SystemProperties;
import io.github.dsheirer.sample.Listener;
import io.github.dsheirer.spectrum.converter.DFTResultsConverter;
import org.jtransforms.fft.FloatFFT_1D;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.io.IOException;
import java.util.concurrent.CopyOnWriteArrayList;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.ScheduledFuture;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicBoolean;
import org.jtransforms.fft.FloatFFT_1D;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
* Processes both complex samples or float samples and dispatches a float array of DFT results, using configurable fft
Expand Down Expand Up @@ -229,7 +230,7 @@ public void run()
mRunning.set(false);
}
}
catch(Exception e)
catch(Throwable e)
{
mLog.error("error during dft processor calculation task", e);
}
Expand Down

0 comments on commit d3f9833

Please sign in to comment.