Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Commit

Permalink
More reliable USB detection
Browse files Browse the repository at this point in the history
  • Loading branch information
noahc3 committed Jul 9, 2018
1 parent f3ba49e commit e326717
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions auto h-encore/FormConnector.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion auto h-encore/FormConnector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,14 @@ private void btnWifi_Click(object sender, EventArgs e) {
}

private void ResetQCMA(object sender, EventArgs e) {
QCMAtimer.Stop();
Utility.KillQCMA();
Thread.Sleep(500);
Process.Start(Global.path_QCMA);
}

private void FormConnector_FormClosing(object sender, FormClosingEventArgs e)
{
QCMAtimer.Stop();
}
}
}

0 comments on commit e326717

Please sign in to comment.