This commit is contained in:
2017-05-11 12:48:41 +02:00
parent 4eebfe8255
commit 0136084aa3
2 changed files with 6 additions and 3 deletions

View File

@@ -86,6 +86,7 @@ namespace PIC_Simulator.PIC
public void Disconnect()
{
if (ComPort == null) return;
ComPort.Close();
ComPort = null;
}