KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have an app where I read from the serialport, everything goes fine, until I close the app. When I click on the [X] the app simply hangs, the UI: unresponsive. I read from the port in the DataReceived event handler, and I close the port when FormClosed happens: private void MainForm_FormClosed(object sender, FormClosedEventArgs e) { mySerialPort.Close(); }
Tags (comma-separated)
Save Edits
Cancel