Skip to content

Commit

Permalink
Stop the timeout timer when receiving a service response
Browse files Browse the repository at this point in the history
It's amazing what sort of bugs can pop up if you don't test your code...
  • Loading branch information
Sparronator9999 committed Dec 3, 2024
1 parent 817f4ab commit c2fc435
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions YAMDCC.GUI/MainWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ private void OnProcessExit(object sender, EventArgs e)

private void IPC_MessageReceived(object sender, PipeMessageEventArgs<ServiceResponse, ServiceCommand> e)
{
tmrSvcTimeout.Stop();
string[] args = e.Message.Value.Split(' ');
if (args.Length == 1)
{
Expand Down

0 comments on commit c2fc435

Please sign in to comment.