Skip to content

Commit

Permalink
Updated FFT Streamer library to be more safe (hopefully). Should no l…
Browse files Browse the repository at this point in the history
…onger generate any events after cancel command has been recieved
  • Loading branch information
ajn96 committed Jul 31, 2020
1 parent 2930276 commit 962c19a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified Resources/SignalProcessing.dll
Binary file not shown.
4 changes: 2 additions & 2 deletions src/FrequencyPlotGUI.vb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Public Class FrequencyPlotGUI
Private Sub Shutdown() Handles Me.Closing
If m_FFTStream.IsBusy Then
m_FFTStream.CancelAsync()
System.Threading.Thread.Sleep(100)
System.Threading.Thread.Sleep(250)
End If
m_FFTStream.Dispose()
'show other forms
Expand Down Expand Up @@ -239,7 +239,7 @@ Public Class FrequencyPlotGUI
Private Sub btn_stopPlot_Click(sender As Object, e As EventArgs) Handles btn_stopPlot.Click
'cancel running stream
m_FFTStream.CancelAsync()
System.Threading.Thread.Sleep(500)
System.Threading.Thread.Sleep(250)

'enable inputs
NFFT.Enabled = True
Expand Down

0 comments on commit 962c19a

Please sign in to comment.